[Python-modules-commits] r1982 - in
/packages/python-mysqldb/trunk/debian/patches:
01_converters_boolean.dpatch 02_reconnect.dpatch
03_converters_set2str.dpatch
mejo at users.alioth.debian.org
mejo at users.alioth.debian.org
Thu Apr 5 13:00:23 UTC 2007
Author: mejo
Date: Thu Apr 5 13:00:23 2007
New Revision: 1982
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1982
Log:
fix patches again
Modified:
packages/python-mysqldb/trunk/debian/patches/01_converters_boolean.dpatch
packages/python-mysqldb/trunk/debian/patches/02_reconnect.dpatch
packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch
Modified: packages/python-mysqldb/trunk/debian/patches/01_converters_boolean.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-mysqldb/trunk/debian/patches/01_converters_boolean.dpatch?rev=1982&op=diff
==============================================================================
--- packages/python-mysqldb/trunk/debian/patches/01_converters_boolean.dpatch (original)
+++ packages/python-mysqldb/trunk/debian/patches/01_converters_boolean.dpatch Thu Apr 5 13:00:23 2007
@@ -1,6 +1,14 @@
-diff -rNu MySQL-python-1.2.2.orig/MySQLdb/converters.py MySQL-python-1.2.2/MySQLdb/converters.py
---- MySQL-python-1.2.2.orig/MySQLdb/converters.py 2007-01-29 19:02:17.000000000 +0100
-+++ MySQL-python-1.2.2/MySQLdb/converters.py 2007-04-05 13:37:43.000000000 +0200
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## 01_converters_boolean.dpatch by Jonas Meurer <mejo at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: take boolean into account at converters.py
+
+ at DPATCH@
+
+--- python-mysqldb-1.2.2/MySQLdb/converters.py
++++ python-mysqldb-1.2.2/MySQLdb/converters.py
@@ -163,5 +163,10 @@
except ImportError:
pass
Modified: packages/python-mysqldb/trunk/debian/patches/02_reconnect.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-mysqldb/trunk/debian/patches/02_reconnect.dpatch?rev=1982&op=diff
==============================================================================
--- packages/python-mysqldb/trunk/debian/patches/02_reconnect.dpatch (original)
+++ packages/python-mysqldb/trunk/debian/patches/02_reconnect.dpatch Thu Apr 5 13:00:23 2007
@@ -1,6 +1,14 @@
-diff -rNu MySQL-python-1.2.2.orig/_mysql.c MySQL-python-1.2.2/_mysql.c
---- MySQL-python-1.2.2.orig/_mysql.c 2007-02-28 03:35:56.000000000 +0100
-+++ MySQL-python-1.2.2/_mysql.c 2007-04-05 13:39:16.000000000 +0200
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## 02_reconnect.dpatch by Dan Pascu <dan at ag-projects.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: reconnect after connection is lost, even with mysql >= 5.0.3
+
+ at DPATCH@
+
+--- python-mysqldb-1.2.2/_mysql.c
++++ python-mysqldb-1.2.2/_mysql.c
@@ -579,6 +579,8 @@
if (!conn) {
_mysql_Exception(self);
@@ -10,9 +18,8 @@
}
/*
PyType_GenericAlloc() automatically sets up GC allocation and
-diff -rNu MySQL-python-1.2.2.orig/MySQLdb/converters.py MySQL-python-1.2.2/MySQLdb/converters.py
---- MySQL-python-1.2.2.orig/MySQLdb/converters.py 2007-01-29 19:02:17.000000000 +0100
-+++ MySQL-python-1.2.2/MySQLdb/converters.py 2007-04-05 13:37:43.000000000 +0200
+--- python-mysqldb-1.2.2/MySQLdb/converters.py
++++ python-mysqldb-1.2.2/MySQLdb/converters.py
@@ -163,5 +163,10 @@
except ImportError:
pass
Modified: packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch?rev=1982&op=diff
==============================================================================
--- packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch (original)
+++ packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch Thu Apr 5 13:00:23 2007
@@ -1,6 +1,14 @@
-diff -rNu MySQL-python-1.2.2.orig/_mysql.c MySQL-python-1.2.2/_mysql.c
---- MySQL-python-1.2.2.orig/_mysql.c 2007-02-28 03:35:56.000000000 +0100
-+++ MySQL-python-1.2.2/_mysql.c 2007-04-05 13:39:16.000000000 +0200
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## 03_converters_set2str.dpatch by Simeon Anastasov
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix set2str
+
+ at DPATCH@
+
+--- python-mysqldb-1.2.2/_mysql.c
++++ python-mysqldb-1.2.2/_mysql.c
@@ -579,6 +579,8 @@
if (!conn) {
_mysql_Exception(self);
@@ -10,9 +18,8 @@
}
/*
PyType_GenericAlloc() automatically sets up GC allocation and
-diff -rNu MySQL-python-1.2.2.orig/MySQLdb/converters.py MySQL-python-1.2.2/MySQLdb/converters.py
---- MySQL-python-1.2.2.orig/MySQLdb/converters.py 2007-01-29 19:02:17.000000000 +0100
-+++ MySQL-python-1.2.2/MySQLdb/converters.py 2007-04-05 13:39:49.000000000 +0200
+--- python-mysqldb-1.2.2/MySQLdb/converters.py
++++ python-mysqldb-1.2.2/MySQLdb/converters.py
@@ -42,7 +42,8 @@
def Bool2Str(s, d): return str(int(s))
More information about the Python-modules-commits
mailing list