SOURCES: python-MySQLdb-py2.5.patch (NEW) - fix working with pytho...

wiget wiget at pld-linux.org
Thu Sep 28 10:46:30 CEST 2006


Author: wiget                        Date: Thu Sep 28 08:46:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix working with python 2.5 on x86_64 and other 64bit archs

---- Files affected:
SOURCES:
   python-MySQLdb-py2.5.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-MySQLdb-py2.5.patch
diff -u /dev/null SOURCES/python-MySQLdb-py2.5.patch:1.1
--- /dev/null	Thu Sep 28 10:46:30 2006
+++ SOURCES/python-MySQLdb-py2.5.patch	Thu Sep 28 10:46:25 2006
@@ -0,0 +1,11 @@
+--- MySQL-python-1.2.1_p2/_mysql.c.wiget	2006-09-28 10:17:12.000000000 +0200
++++ MySQL-python-1.2.1_p2/_mysql.c	2006-09-28 10:20:38.000000000 +0200
+@@ -1120,7 +1120,7 @@
+ 	PyObject *args)
+ {
+ 	PyObject *o=NULL, *d=NULL, *r=NULL, *item, *quoted, *pkey; 
+-	int ppos = 0;
++	Py_ssize_t ppos = 0;
+ 	if (!PyArg_ParseTuple(args, "O!O:escape_dict", &PyDict_Type, &o, &d))
+ 		goto error;
+ 	if (!PyMapping_Check(d)) {
================================================================


More information about the pld-cvs-commit mailing list