SOURCES (PYTHON_2_5): python-lib64.patch - updated for version 2.5

wrobell wrobell at pld-linux.org
Mon Aug 21 20:38:02 CEST 2006


Author: wrobell                      Date: Mon Aug 21 18:38:02 2006 GMT
Module: SOURCES                       Tag: PYTHON_2_5
---- Log message:
- updated for version 2.5

---- Files affected:
SOURCES:
   python-lib64.patch (1.13.4.1 -> 1.13.4.2) 

---- Diffs:

================================================================
Index: SOURCES/python-lib64.patch
diff -u SOURCES/python-lib64.patch:1.13.4.1 SOURCES/python-lib64.patch:1.13.4.2
--- SOURCES/python-lib64.patch:1.13.4.1	Wed Jul 12 18:51:22 2006
+++ SOURCES/python-lib64.patch	Mon Aug 21 20:37:57 2006
@@ -245,19 +245,15 @@
 diff -Nur Python-2.5b2.orig/Python/sysmodule.c Python-2.5b2/Python/sysmodule.c
 --- Python-2.5b2.orig/Python/sysmodule.c	2006-07-10 22:08:24.000000000 +0100
 +++ Python-2.5b2/Python/sysmodule.c	2006-07-12 17:42:51.000000000 +0100
-@@ -1152,6 +1152,12 @@
+@@ -1152,4 +1152,8 @@
  	PyDict_SetItemString(sysdict, "platform",
- 			     v = PyString_FromString(Py_GetPlatform()));
- 	Py_XDECREF(v);
+ 			     PyString_FromString(Py_GetPlatform()));
 +	PyDict_SetItemString(sysdict, "arch",
-+			     v = PyString_FromString(Py_GetArch()));
-+	Py_XDECREF(v);
++			     PyString_FromString(Py_GetArch()));
 +	PyDict_SetItemString(sysdict, "lib",
-+			     v = PyString_FromString(Py_GetLib()));
-+	Py_XDECREF(v);
++			     PyString_FromString(Py_GetLib()));
  	PyDict_SetItemString(sysdict, "executable",
  			     v = PyString_FromString(Py_GetProgramFullPath()));
- 	Py_XDECREF(v);
 diff -Nur Python-2.5b2.orig/setup.py Python-2.5b2/setup.py
 --- Python-2.5b2.orig/setup.py	2006-06-30 07:18:39.000000000 +0100
 +++ Python-2.5b2/setup.py	2006-07-12 17:45:14.000000000 +0100
================================================================

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



More information about the pld-cvs-commit mailing list