OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 23-Sep-2005 14:49:26
Branch: HEAD Handle: 2005092313492500
Added files:
openpkg-src/popt popt.patch
Modified files:
openpkg-src/popt popt.spec
Log:
fix building under FreeBSD 4.x and similar systems who do not have
wchar
Summary:
Revision Changes Path
1.1 +11 -0 openpkg-src/popt/popt.patch
1.28 +3 -1 openpkg-src/popt/popt.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/popt/popt.patch
============================================================================
$ cvs diff -u -r0 -r1.1 popt.patch
--- /dev/null 2005-09-23 14:49:07 +0200
+++ popt.patch 2005-09-23 14:49:26 +0200
@@ -0,0 +1,11 @@
+Index: popthelp.c
+--- popthelp.c.orig 2004-02-26 02:20:53 +0100
++++ popthelp.c 2005-09-23 11:12:18 +0200
+@@ -10,7 +10,6 @@
+
+ #include "system.h"
+
+-#define POPT_WCHAR_HACK
+ #ifdef POPT_WCHAR_HACK
+ #include <wchar.h> /* for mbsrtowcs */
+ /[EMAIL PROTECTED] mbstate_t @*/
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/popt/popt.spec
============================================================================
$ cvs diff -u -r1.27 -r1.28 popt.spec
--- openpkg-src/popt/popt.spec 20 Aug 2005 21:41:57 -0000 1.27
+++ openpkg-src/popt/popt.spec 23 Sep 2005 12:49:25 -0000 1.28
@@ -37,11 +37,12 @@
Group: System
License: LGPL
Version: %{V_popt}
-Release: 20050820
+Release: 20050923
# list of sources
Source0: ftp://jbj.org/pub/rpm-%{V_rpm}/popt-%{V_popt}.tar.gz
Source1: popt.pc
+Patch0: popt.patch
# build information
Prefix: %{l_prefix}
@@ -69,6 +70,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]