summaryrefslogtreecommitdiff
path: root/dev-python/pyfltk/files/fltk_wrap.patch
blob: 5a3904e697acaf591c3955c9c5e52a4b570de9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>