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:02:30
Branch: HEAD Handle: 2005101609022900
Added files:
openpkg-src/ifile ifile.patch
Modified files:
openpkg-src/ifile ifile.spec
Log:
fix building under Linux (where __OPTIMIZE_ is used in <features.h>)
Summary:
Revision Changes Path
1.1 +24 -0 openpkg-src/ifile/ifile.patch
1.20 +3 -1 openpkg-src/ifile/ifile.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ifile/ifile.patch
============================================================================
$ cvs diff -u -r0 -r1.1 ifile.patch
--- /dev/null 2005-10-16 10:02:28 +0200
+++ ifile.patch 2005-10-16 10:02:29 +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 -r1.20 ifile.spec
--- openpkg-src/ifile/ifile.spec 24 Mar 2005 11:19:04 -0000 1.19
+++ openpkg-src/ifile/ifile.spec 16 Oct 2005 08:02:29 -0000 1.20
@@ -33,10 +33,11 @@
Group: Mail
License: GPL
Version: 1.3.5
-Release: 20041214
+Release: 20051016
# 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]