OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Matthias Kurz
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Aug-2005 20:01:46
Branch: HEAD Handle: 2005080619014600
Modified files:
openpkg-src/python python.patch python.spec
Log:
- supply libpython.a (without version number)
- fix warning from g++ under Solaris 10, when compiling software that
includes Python.h
(_XOPEN_SOURCE redefined in %prefix/include/python/pyconfig.h)
Summary:
Revision Changes Path
1.8 +15 -3 openpkg-src/python/python.patch
1.62 +3 -1 openpkg-src/python/python.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.patch
============================================================================
$ cvs diff -u -r1.7 -r1.8 python.patch
--- openpkg-src/python/python.patch 1 May 2005 19:04:19 -0000 1.7
+++ openpkg-src/python/python.patch 6 Aug 2005 18:01:46 -0000 1.8
@@ -1,7 +1,7 @@
Index: Include/pyport.h
---- Include/pyport.h.orig 2004-06-05 18:34:53.146935009 +0200
-+++ Include/pyport.h 2004-06-05 18:34:58.681503403 +0200
-@@ -238,8 +238,12 @@
+--- Include/pyport.h.orig 2004-09-23 21:11:21.000000000 +0200
++++ Include/pyport.h 2005-08-04 05:58:11.804844000 +0200
+@@ -251,8 +251,12 @@
* config to #define Py_HUGE_VAL to something that works on your platform.
*/
#ifndef Py_HUGE_VAL
@@ -14,3 +14,15 @@
/* Py_OVERFLOWED(X)
* Return 1 iff a libm function overflowed. Set errno to 0 before calling
+Index: configure
+--- configure.orig 2005-08-04 05:58:11.943306000 +0200
++++ configure 2005-08-04 05:59:12.634748000 +0200
+@@ -1524,7 +1524,7 @@
+ # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
+ # defined precisely as g++ defines it
+ case $ac_sys_system/$ac_sys_release in
+- SunOS/5.8|SunOS/5.9)
++ SunOS/5.8|SunOS/5.9|SunOS/5.10)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define _XOPEN_SOURCE 500
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.spec
============================================================================
$ cvs diff -u -r1.61 -r1.62 python.spec
--- openpkg-src/python/python.spec 1 May 2005 19:04:19 -0000 1.61
+++ openpkg-src/python/python.spec 6 Aug 2005 18:01:46 -0000 1.62
@@ -33,7 +33,7 @@
Group: Language
License: GPL
Version: 2.4.1
-Release: 20050501
+Release: 20050806
# package options
%option with_readline no
@@ -172,6 +172,8 @@
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
+ ln $RPM_BUILD_ROOT%{l_prefix}/lib/python/config/libpython*.a \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/python/config/libpython.a
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/smtpd.py
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/idle
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python/test
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]