From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- 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