1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix the build with Python 2.5.

Reported by:	pointyhat via Pav
Submitted by:	perky
This commit is contained in:
Thierry Thomas 2007-08-08 21:21:30 +00:00
parent 62a618f12c
commit 7405f743a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197354

View File

@ -0,0 +1,11 @@
--- src/Gui/Application.cpp.orig Sat Feb 24 11:48:30 2007
+++ src/Gui/Application.cpp Wed Aug 8 22:09:54 2007
@@ -675,7 +675,7 @@
const char* start = App::Application::Config()["StartWorkbench"].c_str();
PyObject *key, *value;
- int pos = 0;
+ Py_ssize_t pos = 0;
QStringList wb;
// insert all items
while (PyDict_Next(_pcWorkbenchDictionary, &pos, &key, &value)) {