diff options
author | thierry <thierry@FreeBSD.org> | 2007-08-09 05:21:30 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-08-09 05:21:30 +0800 |
commit | 41e819cc29e7fe7b4c0f00fb94aff883ade3fa79 (patch) | |
tree | f305406efbb6bb0071be39d13e66f4aba9e91493 /cad/freecad | |
parent | fa10d14d9f6be228dcf861761c5e9e7f0a0826fa (diff) | |
download | freebsd-ports-gnome-41e819cc29e7fe7b4c0f00fb94aff883ade3fa79.tar.gz freebsd-ports-gnome-41e819cc29e7fe7b4c0f00fb94aff883ade3fa79.tar.zst freebsd-ports-gnome-41e819cc29e7fe7b4c0f00fb94aff883ade3fa79.zip |
Fix the build with Python 2.5.
Reported by: pointyhat via Pav
Submitted by: perky
Diffstat (limited to 'cad/freecad')
-rw-r--r-- | cad/freecad/files/patch-src_Gui_Application.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/freecad/files/patch-src_Gui_Application.cpp b/cad/freecad/files/patch-src_Gui_Application.cpp new file mode 100644 index 000000000000..206937ea3acc --- /dev/null +++ b/cad/freecad/files/patch-src_Gui_Application.cpp @@ -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)) {
|