summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/patches')
-rw-r--r--toolchain/glibc/patches/stdio_lim.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/stdio_lim.patch b/toolchain/glibc/patches/stdio_lim.patch
new file mode 100644
index 000000000..41f8447dc
--- /dev/null
+++ b/toolchain/glibc/patches/stdio_lim.patch
@@ -0,0 +1,31 @@
+diff -Nur glibc-2.11.orig/stdio-common/Makefile glibc-2.11/stdio-common/Makefile
+--- glibc-2.11.orig/stdio-common/Makefile 2009-10-30 18:17:08.000000000 +0100
++++ glibc-2.11/stdio-common/Makefile 2009-12-30 23:52:08.000000000 +0100
+@@ -21,7 +21,7 @@
+ #
+ subdir := stdio-common
+
+-headers := stdio_ext.h printf.h bits/printf-ldbl.h
++headers := stdio_ext.h printf.h bits/printf-ldbl.h bits/stdio_lim.h
+
+ routines := \
+ ctermid cuserid \
+@@ -40,8 +40,6 @@
+ isoc99_vsscanf \
+ psiginfo
+
+-install-others = $(inst_includedir)/bits/stdio_lim.h
+-
+ include ../Makeconfig
+
+ aux := errlist siglist printf-parsemb printf-parsewc fxprintf
+@@ -66,9 +64,6 @@
+
+ include ../Rules
+
+-$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h $(+force)
+- $(do-install)
+-
+ ifeq ($(cross-compiling),no)
+ .PHONY: do-tst-unbputc do-tst-printf
+ tests: do-tst-unbputc do-tst-printf