diff options
Diffstat (limited to 'x11-libs/wxGTK/files/wxGTK-2.8.9-dont-touch-my-bools.patch')
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-2.8.9-dont-touch-my-bools.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.9-dont-touch-my-bools.patch b/x11-libs/wxGTK/files/wxGTK-2.8.9-dont-touch-my-bools.patch deleted file mode 100644 index 42201b6941ef..000000000000 --- a/x11-libs/wxGTK/files/wxGTK-2.8.9-dont-touch-my-bools.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naurp wxPython-src-2.8.9.1-orig/include/wx/db.h wxPython-src-2.8.9.1/include/wx/db.h ---- wxPython-src-2.8.9.1-orig/include/wx/db.h 2007-07-04 13:24:57.000000000 -0600 -+++ wxPython-src-2.8.9.1/include/wx/db.h 2008-11-07 17:05:16.000000000 -0600 -@@ -78,10 +78,15 @@ - // defined in many other places on other systems (Motif, at least on - // OpenVMS; Cocoa and X11) so prevent the problem by defining it before - // including these headers -- #define BOOL int -- #include <sql.h> -- #include <sqlext.h> -- #undef BOOL -+ #ifndef BOOL -+ #define BOOL int -+ #include <sql.h> -+ #include <sqlext.h> -+ #undef BOOL -+ #else -+ #include <sql.h> -+ #include <sqlext.h> -+ #endif - #endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC - } - #endif |