From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/pyfltk/files/fltk_wrap.patch | 14 ++++++++++++++ dev-python/pyfltk/files/ignore-func.patch | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dev-python/pyfltk/files/fltk_wrap.patch create mode 100644 dev-python/pyfltk/files/ignore-func.patch (limited to 'dev-python/pyfltk/files') diff --git a/dev-python/pyfltk/files/fltk_wrap.patch b/dev-python/pyfltk/files/fltk_wrap.patch new file mode 100644 index 000000000000..e0c7ba3a4133 --- /dev/null +++ b/dev-python/pyfltk/files/fltk_wrap.patch @@ -0,0 +1,14 @@ +--- a/python/fltk_wrap.cpp ++++ b/python/fltk_wrap.cpp +@@ -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 + diff --git a/dev-python/pyfltk/files/ignore-func.patch b/dev-python/pyfltk/files/ignore-func.patch new file mode 100644 index 000000000000..4c3ff48fce54 --- /dev/null +++ b/dev-python/pyfltk/files/ignore-func.patch @@ -0,0 +1,12 @@ +https://sourceforge.net/p/pyfltk/code/506/ + +--- a/swig/filename.i ++++ b/swig/filename.i +@@ -14,6 +14,7 @@ + %ignore fl_alphasort; + %ignore fl_casealphasort; + %ignore fl_casenumericsort; ++%ignore _fl_filename_isdir_quick; + + %include "FL/filename.H" + -- cgit v1.2.3