summaryrefslogtreecommitdiff
path: root/toolchain/musl/patches-0.9.11/100-wchar_include.patch
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-04 21:26:01 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-04 21:26:01 +0000
commit5f0b225d3870eaa07b481c63c429c7cc037ac2d9 (patch)
tree8d06eadc9e21e54a86457ab90473a590b96bef73 /toolchain/musl/patches-0.9.11/100-wchar_include.patch
parent30d7a005185f382c959367f4b7e69ed8c1ce90e1 (diff)
toolchain/musl: add version 0.9.11
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37173 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/musl/patches-0.9.11/100-wchar_include.patch')
-rw-r--r--toolchain/musl/patches-0.9.11/100-wchar_include.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/toolchain/musl/patches-0.9.11/100-wchar_include.patch b/toolchain/musl/patches-0.9.11/100-wchar_include.patch
new file mode 100644
index 0000000000..5d78ced6a9
--- /dev/null
+++ b/toolchain/musl/patches-0.9.11/100-wchar_include.patch
@@ -0,0 +1,60 @@
+--- a/arch/arm/bits/alltypes.h.sh
++++ b/arch/arm/bits/alltypes.h.sh
+@@ -22,6 +22,7 @@
+
+ TYPEDEF __builtin_va_list va_list;
+ TYPEDEF __builtin_va_list __isoc_va_list;
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ TYPEDEF unsigned wchar_t;
+--- a/arch/i386/bits/alltypes.h.sh
++++ b/arch/i386/bits/alltypes.h.sh
+@@ -27,6 +27,7 @@
+ TYPEDEF struct __va_list * va_list;
+ TYPEDEF struct __va_list * __isoc_va_list;
+ #endif
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ #ifdef __WCHAR_TYPE__
+--- a/arch/microblaze/bits/alltypes.h.sh
++++ b/arch/microblaze/bits/alltypes.h.sh
+@@ -22,6 +22,7 @@
+
+ TYPEDEF __builtin_va_list va_list;
+ TYPEDEF __builtin_va_list __isoc_va_list;
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ TYPEDEF int wchar_t;
+--- a/arch/mips/bits/alltypes.h.sh
++++ b/arch/mips/bits/alltypes.h.sh
+@@ -22,6 +22,7 @@
+
+ TYPEDEF __builtin_va_list va_list;
+ TYPEDEF __builtin_va_list __isoc_va_list;
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ TYPEDEF int wchar_t;
+--- a/arch/powerpc/bits/alltypes.h.sh
++++ b/arch/powerpc/bits/alltypes.h.sh
+@@ -22,6 +22,7 @@
+
+ TYPEDEF __builtin_va_list va_list;
+ TYPEDEF __builtin_va_list __isoc_va_list;
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ TYPEDEF long wchar_t;
+--- a/arch/x86_64/bits/alltypes.h.sh
++++ b/arch/x86_64/bits/alltypes.h.sh
+@@ -21,6 +21,7 @@
+ TYPEDEF long ptrdiff_t;
+ TYPEDEF __builtin_va_list va_list;
+ TYPEDEF __builtin_va_list __isoc_va_list;
++#define __gnuc_va_list va_list
+
+ #ifndef __cplusplus
+ TYPEDEF int wchar_t;