summaryrefslogtreecommitdiff
path: root/user/free42/patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/free42/patch.patch')
-rw-r--r--user/free42/patch.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/free42/patch.patch b/user/free42/patch.patch
index 03e73a5f3..e84b3f7b8 100644
--- a/user/free42/patch.patch
+++ b/user/free42/patch.patch
@@ -63,3 +63,20 @@
+ else
+ __TMP := $(strip $(subst /, ,$(firstword $(CC))))
+ CC_NAME := $(word $(words $(__TMP)), $(__TMP))
+--- gtk/intel-lib-linux.patch.old 2019-01-23 03:43:48.830000000 +0000
++++ gtk/intel-lib-linux.patch 2019-01-23 03:46:18.170000000 +0000
+@@ -1727,3 +1727,14 @@
+ else
+ __TMP := $(strip $(subst /, ,$(firstword $(CC))))
+ CC_NAME := $(word $(words $(__TMP)), $(__TMP))
++--- LIBRARY/src/bid_functions.h.old 2011-07-12 05:30:53.000000000 +0000
+++++ LIBRARY/src/bid_functions.h 2019-01-23 03:45:35.660000000 +0000
++@@ -42,7 +42,7 @@
++ #include <ctype.h>
++
++ // Fix system header issue on Sun solaris and define required type by ourselves
++-#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__)
+++#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) && !defined(WCHAR_MAX)
++ typedef int wchar_t;
++ #endif
++