r6154 - packages/trunk/boson/debian/patches
Gonéri LE BOUDER
goneri-guest at alioth.debian.org
Mon Mar 17 23:10:51 UTC 2008
Author: goneri-guest
Date: 2008-03-17 23:10:51 +0000 (Mon, 17 Mar 2008)
New Revision: 6154
Modified:
packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff
Log:
s/Py_Ssize_t/Py_ssize_t/
Modified: packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff
===================================================================
--- packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff 2008-03-17 23:10:27 UTC (rev 6153)
+++ packages/trunk/boson/debian/patches/fix_python2.5type_issue.diff 2008-03-17 23:10:51 UTC (rev 6154)
@@ -1,13 +1,13 @@
Index: boson-0.13/boson/gameengine/script/pythonscript.cpp
===================================================================
---- 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
+--- boson-0.13.orig/boson/gameengine/script/pythonscript.cpp
++++ boson-0.13/boson/gameengine/script/pythonscript.cpp
@@ -688,7 +688,7 @@
// variables or submodules dict if possible.
PyObject* key;
PyObject* value;
- int pos = 0;
-+ Py_Ssize_t pos = 0;
++ Py_ssize_t pos = 0;
while(PyDict_Next(moduledict, &pos, &key, &value))
{
// Check if value is any of the known types
@@ -16,14 +16,14 @@
PyObject* key;
PyObject* value;
- int pos = 0;
-+ Py_Ssize_t pos = 0;
++ Py_ssize_t pos = 0;
while(PyDict_Next(submodules, &pos, &key, &value))
{
// 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:43:05.000000000 +0100
-+++ boson-0.13/boson/gameengine/script/pythonscript.h 2008-03-17 23:44:55.000000000 +0100
+--- boson-0.13.orig/boson/gameengine/script/pythonscript.h
++++ boson-0.13/boson/gameengine/script/pythonscript.h
@@ -29,6 +29,11 @@
struct PyMethodDef;
typedef struct _ts PyThreadState;
More information about the Pkg-games-commits
mailing list