[toolchain] add support for uClibc 0.9.30.2
[openwrt-10.03/.git] / toolchain / uClibc / patches-0.9.30.2 / 410-llvm_workaround.patch
diff --git a/toolchain/uClibc/patches-0.9.30.2/410-llvm_workaround.patch b/toolchain/uClibc/patches-0.9.30.2/410-llvm_workaround.patch
new file mode 100644 (file)
index 0000000..3847b72
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/libc/stdio/_stdio.c
++++ b/libc/stdio/_stdio.c
+@@ -121,7 +121,7 @@ static FILE _stdio_streams[] = {
+                                                        __FLAG_NBF|__FLAG_WRITEONLY, \
+                                                        2, \
+                                                        NULL, \
+-                                                       NULL, \
++                                                       0, \
+                                                        0 )
+ };