r6152 - packages/trunk/boson/debian/patches
Gonéri LE BOUDER
goneri-guest at alioth.debian.org
Mon Mar 17 22:47:46 UTC 2008
Author: goneri-guest
Date: 2008-03-17 22:47:46 +0000 (Mon, 17 Mar 2008)
New Revision: 6152
Modified:
packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff
Log:
include <patchlevel.h> to get PY_VERSION_HEX
Modified: packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff
===================================================================
--- packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff 2008-03-17 22:36:36 UTC (rev 6151)
+++ packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff 2008-03-17 22:47:46 UTC (rev 6152)
@@ -1,7 +1,7 @@
Index: boson-0.13/boson/gameengine/script/pythonscript.cpp
===================================================================
---- boson-0.13.orig/boson/gameengine/script/pythonscript.cpp 2008-03-17 23:17:36.000000000 +0100
-+++ boson-0.13/boson/gameengine/script/pythonscript.cpp 2008-03-17 23:21:39.000000000 +0100
+--- boson-0.13.orig/boson/gameengine/script/pythonscript.cpp 2008-03-17 23:43:05.000000000 +0100
++++ boson-0.13/boson/gameengine/script/pythonscript.cpp 2008-03-17 23:43:12.000000000 +0100
@@ -688,7 +688,7 @@
// variables or submodules dict if possible.
PyObject* key;
@@ -22,12 +22,13 @@
// Check if current module already has module with this name
Index: boson-0.13/boson/gameengine/script/pythonscript.h
===================================================================
---- boson-0.13.orig/boson/gameengine/script/pythonscript.h 2008-03-17 23:24:11.000000000 +0100
-+++ boson-0.13/boson/gameengine/script/pythonscript.h 2008-03-17 23:24:49.000000000 +0100
-@@ -29,6 +29,10 @@
+--- boson-0.13.orig/boson/gameengine/script/pythonscript.h 2008-03-17 23:43:05.000000000 +0100
++++ boson-0.13/boson/gameengine/script/pythonscript.h 2008-03-17 23:44:55.000000000 +0100
+@@ -29,6 +29,11 @@
struct PyMethodDef;
typedef struct _ts PyThreadState;
++#include <patchlevel.h>
+/* Python < 2.5 compat */
+#if PY_VERSION_HEX < 0x02050000
+typedef int Py_ssize_t;
More information about the Pkg-games-commits
mailing list