[Python-modules-commits] r2668 - /packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Tue Jul 3 23:41:04 UTC 2007


Author: bzed-guest
Date: Tue Jul  3 23:41:04 2007
New Revision: 2668

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2668
Log:
... and the patch, too....

Added:
    packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch   (with props)

Added: packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch?rev=2668&op=file
==============================================================================
--- packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch (added)
+++ packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch Tue Jul  3 23:41:04 2007
@@ -1,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## python2.5-ubuntu-fix.dpatch by Bernd Zeimetz <bernd at bzed.de>
+##
+## DP: patch backported from ubuntu
+## DP: http://launchpadlibrarian.net/8296887/py2.5.diff
+
+ at DPATCH@
+diff -urNad python-tclink~/py_tclink.c python-tclink/py_tclink.c
+--- python-tclink~/py_tclink.c	2007-07-04 01:35:04.000000000 +0200
++++ python-tclink/py_tclink.c	2007-07-04 01:36:21.000000000 +0200
+@@ -30,7 +30,13 @@
+ {
+ 	PyObject *input, *output;
+ 	PyObject *key, *value;
+-	int pos = 0;
++
++#if PY_VERSION_HEX >= 0x020500F0 /* Python >= 2.5 */
++	ssize_t pos = 0;
++#else
++ 	int pos = 0;
++#endif
++
+ 	char *key_str, *value_str;
+ 
+ 	TCLinkHandle handle;

Propchange: packages/python-tclink/trunk/debian/patches/python2.5-ubuntu-fix.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-modules-commits mailing list