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: 03-Oct-2006 19:14:13
Branch: HEAD Handle: 2006100318141300
Added files:
openpkg-src/pth pth.patch
Modified files:
openpkg-src/pth pth.spec
Log:
apply another evil workaround for IBM AIX 5.3
Summary:
Revision Changes Path
1.1 +18 -0 openpkg-src/pth/pth.patch
1.45 +3 -1 openpkg-src/pth/pth.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pth/pth.patch
============================================================================
$ cvs diff -u -r0 -r1.1 pth.patch
--- /dev/null 2006-10-03 19:14:06 +0200
+++ pth.patch 2006-10-03 19:14:13 +0200
@@ -0,0 +1,18 @@
+On some platforms (e.g. IBM AIX 5.x) the FD_SETSIZE for still unknown
+reasons is larger under Pth compile-time than what Pth was able to
+determine under its configure-time. So, we change the #error to just
+a #warning in order to let those platforms to proceed. But in the
+long-term we should find out why the discrepancy exists.
+
+Index: pth.h.in
+--- pth.h.in.orig 2006-06-08 19:54:02 +0200
++++ pth.h.in 2006-08-02 21:23:48 +0200
+@@ -90,7 +90,7 @@
+ /* check if the user requests a bigger FD_SETSIZE than we can handle */
+ #if defined(FD_SETSIZE)
+ #if FD_SETSIZE > @PTH_FDSETSIZE@
+-#error "FD_SETSIZE is larger than what GNU Pth can handle."
++#warning "FD_SETSIZE is larger than what GNU Pth can handle."
+ #endif
+ #endif
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/pth/pth.spec
============================================================================
$ cvs diff -u -r1.44 -r1.45 pth.spec
--- openpkg-src/pth/pth.spec 24 Sep 2006 13:01:23 -0000 1.44
+++ openpkg-src/pth/pth.spec 3 Oct 2006 17:14:13 -0000 1.45
@@ -33,7 +33,7 @@
Group: Libraries
License: GPL
Version: 2.0.7
-Release: 20060924
+Release: 20061003
# package options
%option with_optimize no
@@ -41,6 +41,7 @@
# list of sources
Source0: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz
+Patch0: pth.patch
# build information
Prefix: %{l_prefix}
@@ -67,6 +68,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]