Hi,
Attached is the diff for my synopsis 0.8.0-5.2 NMU.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Dido - This land is mine
diff -u synopsis-0.8.0/debian/changelog synopsis-0.8.0/debian/changelog
--- synopsis-0.8.0/debian/changelog
+++ synopsis-0.8.0/debian/changelog
@@ -1,3 +1,11 @@
+synopsis (0.8.0-5.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fix FTBFS when building against python 2.5: added patch by Chris Lamb
+ in debian/patches/91_python2.5_ftbfs.dpatch. (Closes: #476158)
+
+ -- Adeodato Simó <[EMAIL PROTECTED]> Mon, 21 Apr 2008 10:45:15 +0200
+
synopsis (0.8.0-5.1) unstable; urgency=low
* Non-maintainer upload.
diff -u synopsis-0.8.0/debian/patches/00list synopsis-0.8.0/debian/patches/00list
--- synopsis-0.8.0/debian/patches/00list
+++ synopsis-0.8.0/debian/patches/00list
@@ -9,0 +10 @@
+91_python2.5_ftbfs
only in patch2:
unchanged:
--- synopsis-0.8.0.orig/debian/patches/91_python2.5_ftbfs.dpatch
+++ synopsis-0.8.0/debian/patches/91_python2.5_ftbfs.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 91_python2.5_ftbfs.dpatch by Chris Lamb <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad synopsis-0.8.0~/src/Synopsis/Python/Object.hh synopsis-0.8.0/src/Synopsis/Python/Object.hh
+--- synopsis-0.8.0~/src/Synopsis/Python/Object.hh 2005-05-27 02:18:31.000000000 +0200
++++ synopsis-0.8.0/src/Synopsis/Python/Object.hh 2008-04-21 10:49:48.000000000 +0200
+@@ -276,7 +276,7 @@
+ void incr();
+
+ Dict my_dict;
+- int my_pos;
++ Py_ssize_t my_pos;
+
+ Tuple my_current;
+ };
+@@ -382,7 +382,7 @@
+ if (!PyString_Check(o.my_impl) || PyString_GET_SIZE(o.my_impl) != 1)
+ throw TypeError("object not a character");
+ char *value;
+- int length;
++ Py_ssize_t length;
+ PyString_AsStringAndSize(o.my_impl, &value, &length);
+ return value[0];
+ }