summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-31 00:59:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-31 00:59:09 +0100
commitafb0d4c43cb9844542dab9f53e43ba53a2ac6921 (patch)
tree4d83ae99f302c73a606f4ddfb31f45e496d4def8 /toolchain/glibc
parente71af3d03d824459c9c98fa196d95ad638d6b301 (diff)
install stdio_lim.h via install-headers
Diffstat (limited to 'toolchain/glibc')
-rw-r--r--toolchain/glibc/Makefile1
-rw-r--r--toolchain/glibc/patches/stdio_lim.patch31
2 files changed, 31 insertions, 1 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 448d41606..2b3fc252f 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -62,7 +62,6 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure
install_root=$(TOOLCHAIN_SYSROOT) \
install-headers
touch $(TOOLCHAIN_SYSROOT)/usr/include/gnu/stubs.h
- touch $(TOOLCHAIN_SYSROOT)/usr/include/bits/stdio_lim.h
touch $@
$(WRKBUILD)/.configured:
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