glibc_2.9: Apply patch to fix manual/Makefile for newer GNU make
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 12 Sep 2010 17:27:11 +0000 (01:27 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 12 Sep 2010 17:27:11 +0000 (01:27 +0800)
This patch is coming from upstream glibc and fixes an error on
make install in line 235 about mixing patterns.

recipes/glibc/glibc-2.9/0001-Don-t-mix-pattern-rules-with-normal-rules.patch [new file with mode: 0644]
recipes/glibc/glibc_2.9.bb

diff --git a/recipes/glibc/glibc-2.9/0001-Don-t-mix-pattern-rules-with-normal-rules.patch b/recipes/glibc/glibc-2.9/0001-Don-t-mix-pattern-rules-with-normal-rules.patch
new file mode 100644 (file)
index 0000000..1838006
--- /dev/null
@@ -0,0 +1,29 @@
+From 32cf40699346d37fabfa887bbd95e95004799ae1 Mon Sep 17 00:00:00 2001
+From: Andreas Schwab <schwab@redhat.com>
+Date: Mon, 6 Sep 2010 14:55:59 +0200
+Subject: [PATCH] Don't mix pattern rules with normal rules
+
+---
+ ChangeLog       |    4 ++++
+ manual/Makefile |    5 ++++-
+ 2 files changed, 8 insertions(+), 1 deletions(-)
+
+diff --git a/manual/Makefile b/manual/Makefile
+index c5866eb..b1f5fa7 100644
+--- a/manual/Makefile
++++ b/manual/Makefile
+@@ -232,7 +232,10 @@ ifdef objpfx
+ .PHONY: stubs
+ stubs: $(objpfx)stubs
+ endif
+-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
++$(objpfx)stubs ../po/manual.pot:
++      $(make-target-directory)
++      touch $@
++$(objpfx)stamp%:
+       $(make-target-directory)
+       touch $@
+-- 
+1.7.0.2
+
index 33326f3..1d7fad8 100644 (file)
@@ -63,6 +63,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2;name=archive \
           file://glibc-2.9-use-_begin.patch \
            file://arm-lowlevellock-include-tls.patch \
            file://glibc-2.9-enable-binutils-2.2.patch \
+           file://0001-Don-t-mix-pattern-rules-with-normal-rules.patch \
            "
 
 # patches to fix libmemusage.so