$(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2:
wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2
$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2
-
tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
cd $(WORK)/glibc-$(GLIBC_VERSION) && \
+ patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-make382.patch && \
tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \
mv glibc-ports-$(GLIBC_VERSION) ports && \
sed -e 's/-lgcc_eh//g' -i Makeconfig
--- /dev/null
+--- glibc-2.10.1_orig/manual/Makefile 2012-02-08 08:05:11.777529411 +0000
++++ glibc-2.10.1/manual/Makefile 2012-02-08 08:06:46.189531779 +0000
+@@ -232,7 +232,9 @@
+ .PHONY: stubs
+ stubs: $(objpfx)stubs
+ endif
+-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
++$(objpfx)stubs ../po/manual.pot:
++ touch $@
++$(objpfx)stamp%:
+ $(make-target-directory)
+ touch $@
+