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: 16-Oct-2005 10:03:07
Branch: OPENPKG_2_5_SOLID Handle: 2005101609030600
Added files: (Branch: OPENPKG_2_5_SOLID)
openpkg-src/ifile ifile.patch
Modified files: (Branch: OPENPKG_2_5_SOLID)
openpkg-src/ifile ifile.spec
Log:
MFC: fix building under Linux (where __OPTIMIZE_ is used in
<features.h>)
Summary:
Revision Changes Path
1.1.2.1 +24 -0 openpkg-src/ifile/ifile.patch
1.19.4.2 +2 -0 openpkg-src/ifile/ifile.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ifile/ifile.patch
============================================================================
$ cvs diff -u -r0 -r1.1.2.1 ifile.patch
--- /dev/null 2005-10-16 10:02:32 +0200
+++ ifile.patch 2005-10-16 10:03:07 +0200
@@ -0,0 +1,24 @@
+Index: argp/argp-fs-xinl.c
+--- argp/argp-fs-xinl.c.orig 2004-12-12 19:11:32.000000000 +0000
++++ argp/argp-fs-xinl.c 2005-10-16 07:58:34.000000000 +0000
+@@ -23,8 +23,6 @@
+ #endif
+
+ #define ARGP_FS_EI
+-#undef __OPTIMIZE__
+-#define __OPTIMIZE__
+ #include "argp-fmtstream.h"
+
+ /* Add weak aliases. */
+Index: argp/argp-xinl.c
+--- argp/argp-xinl.c.orig 2004-12-12 19:11:32.000000000 +0000
++++ argp/argp-xinl.c 2005-10-16 07:58:18.000000000 +0000
+@@ -23,8 +23,6 @@
+ #endif
+
+ #define ARGP_EI
+-#undef __OPTIMIZE__
+-#define __OPTIMIZE__
+ #include "argp.h"
+
+ /* Add weak aliases. */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ifile/ifile.spec
============================================================================
$ cvs diff -u -r1.19.4.1 -r1.19.4.2 ifile.spec
--- openpkg-src/ifile/ifile.spec 11 Oct 2005 12:50:18 -0000 1.19.4.1
+++ openpkg-src/ifile/ifile.spec 16 Oct 2005 08:03:06 -0000 1.19.4.2
@@ -37,6 +37,7 @@
# list of sources
Source0: http://www.nongnu.org/ifile/ifile-%{version}.tar.gz
+Patch0: ifile.patch
# build information
Prefix: %{l_prefix}
@@ -60,6 +61,7 @@
%prep
%setup -q
+ %patch -p0
%build
echo "ac_cv_func_getopt_long=no" >config.cache
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]