summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyfltk/files/fltk_wrap.patch')
-rw-r--r--dev-python/pyfltk/files/fltk_wrap.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/pyfltk/files/fltk_wrap.patch b/dev-python/pyfltk/files/fltk_wrap.patch
new file mode 100644
index 000000000000..5a3904e697ac
--- /dev/null
+++ b/dev-python/pyfltk/files/fltk_wrap.patch
@@ -0,0 +1,15 @@
+diff -ur pyFltk-1.3.3.orig/python/fltk_wrap.cpp pyFltk-1.3.3/python/fltk_wrap.cpp
+--- python/fltk_wrap.cpp 2015-01-03 18:31:21.000000000 +0800
++++ python/fltk_wrap.cpp 2015-06-23 22:26:23.453212512 +0800
+@@ -144,7 +144,9 @@
+ # define _SCL_SECURE_NO_DEPRECATE
+ #endif
+
+-
++int _fl_filename_isdir_quick(const char *n) {
++ return 0;
++}
+
+ /* Python.h has to appear first */
+ #include <Python.h>
+