aboutsummaryrefslogtreecommitdiffstats
path: root/community/webkit2gtk/disallow-ctype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/webkit2gtk/disallow-ctype.patch')
-rw-r--r--community/webkit2gtk/disallow-ctype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/webkit2gtk/disallow-ctype.patch b/community/webkit2gtk/disallow-ctype.patch
new file mode 100644
index 0000000000..d14932ebe0
--- /dev/null
+++ b/community/webkit2gtk/disallow-ctype.patch
@@ -0,0 +1,11 @@
+--- webkitgtk-2.10.3/Source/WTF/wtf/DisallowCType.h.orig
++++ webkitgtk-2.10.3/Source/WTF/wtf/DisallowCType.h
+@@ -40,7 +40,7 @@
+ // are used from wx headers. On GTK+ for Mac many GTK+ files include <libintl.h>
+ // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses
+ // isacii().
+-#if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION)
++#if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__)
+
+ #include <ctype.h>
+