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:
parent
62a618f12c
commit
7405f743a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197354
11
cad/freecad/files/patch-src_Gui_Application.cpp
Normal file
11
cad/freecad/files/patch-src_Gui_Application.cpp
Normal 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)) {
|
Loading…
Reference in New Issue
Block a user