SOURCES: python-lib64.patch - look for include files in usr/includ...

wrobell wrobell at pld-linux.org
Fri Mar 3 19:42:06 CET 2006


Author: wrobell                      Date: Fri Mar  3 18:42:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- look for include files in usr/include/python2.4/ not
  usr/include/multiarch-ppc-linux/python2.4/

---- Files affected:
SOURCES:
   python-lib64.patch (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SOURCES/python-lib64.patch
diff -u SOURCES/python-lib64.patch:1.12 SOURCES/python-lib64.patch:1.13
--- SOURCES/python-lib64.patch:1.12	Thu Jan 26 00:58:18 2006
+++ SOURCES/python-lib64.patch	Fri Mar  3 19:42:01 2006
@@ -74,16 +74,6 @@
          if standard_lib:
              return libpython
          else:
-@@ -188,7 +188,8 @@
-     if python_build:
-         inc_dir = os.curdir
-     else:
--        inc_dir = get_python_inc(plat_specific=1)
-+        prefix = EXEC_PREFIX or PREFIX
-+        inc_dir = os.path.join(prefix, "include", "multiarch-" + sys.arch + "-linux", "python" + sys.version[:3])
-     if sys.version < '2.2':
-         config_h = 'config.h'
-     else:
 --- Python-2.4.1/Lib/site.py.lib64	2004-07-20 04:28:28.000000000 +0200
 +++ Python-2.4.1/Lib/site.py	2005-10-08 00:18:33.000000000 +0200
 @@ -179,12 +179,18 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/python-lib64.patch?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list