Index: patches/eglibc-2.10.1-fixes-1.patch
===================================================================
--- patches/eglibc-2.10.1-fixes-1.patch	(revision 4e8cd59b7fa00391f7d205ad2edad938933974fa)
+++ 	(revision )
@@ -1,74 +1,0 @@
-Submitted By: Jim Gifford (jim at cross-lfs dot org)
-Date: 06-07-2009
-Initial Package Version: 2.10.1
-Origin: Upstream
-Upstream Status: Applied
-Description: These are fixes eglibc-2.10.1, and should be
-             rechecked periodically.
-
-diff -Naur libc.orig/elf/ldd.bash.in libc/elf/ldd.bash.in
---- libc.orig/elf/ldd.bash.in	2009-02-13 18:31:14.000000000 +0000
-+++ libc/elf/ldd.bash.in	2009-06-07 23:26:18.000000000 +0000
-@@ -1,4 +1,4 @@
--#! @BASH@
-+#! /bin/bash
- # Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
- # This file is part of the GNU C Library.
- 
-diff -Naur libc.orig/libio/Makefile libc/libio/Makefile
---- libc.orig/libio/Makefile	2009-02-05 14:29:56.000000000 +0000
-+++ libc/libio/Makefile	2009-06-07 23:26:18.000000000 +0000
-@@ -170,6 +170,7 @@
- tst-fopenloc-ENV = LOCPATH=$(common-objpfx)localedata \
- 		   MALLOC_TRACE=$(objpfx)tst-fopenloc.mtrace
- tst-fgetws-ENV = LOCPATH=$(common-objpfx)localedata
-+tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
- tst-ungetwc1-ENV = LOCPATH=$(common-objpfx)localedata
- tst-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
- bug-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
-diff -Naur libc.orig/libio/tst-fgetwc.c libc/libio/tst-fgetwc.c
---- libc.orig/libio/tst-fgetwc.c	2009-02-05 14:29:56.000000000 +0000
-+++ libc/libio/tst-fgetwc.c	2009-06-07 23:26:18.000000000 +0000
-@@ -6,7 +6,7 @@
- static int
- do_test (void)
- {
--  if (setlocale (LC_ALL, "de_DE.utf8") == NULL)
-+  if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
-     {
-       puts ("setlocale failed");
-       return 1;
-diff -Naur libc.orig/sunrpc/Makefile libc/sunrpc/Makefile
---- libc.orig/sunrpc/Makefile	2008-04-25 11:12:05.000000000 +0000
-+++ libc/sunrpc/Makefile	2009-06-07 23:26:18.000000000 +0000
-@@ -144,11 +144,11 @@
- 	$(+link)
- 
- $(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c
--	gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
-+	$(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
- 		$(OUTPUT_OPTION) $(compile-mkdep-flags)
- 
- $(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs))
--	gcc $^ -o $@
-+	$(BUILD_CC) $^ -o $@
- 
- # This makes sure -DNOT_IN_libc is passed for all these modules.
- cpp-srcs-left := $(rpcgen-objs:.o=.c)
-diff -Naur libc.orig/timezone/Makefile libc/timezone/Makefile
---- libc.orig/timezone/Makefile	2009-03-03 13:14:09.000000000 +0000
-+++ libc/timezone/Makefile	2009-06-07 23:26:18.000000000 +0000
-@@ -181,11 +181,11 @@
- $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
- 
- $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
--	gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
-+	$(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
- 		-DCROSS_ZIC $(compile-mkdep-flags)
- 
- $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
--	gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
-+	$(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
- 
- tz-cflags = -DTZDIR='"$(zonedir)"' \
- 	    -DTZDEFAULT='"$(localtime-file)"' \
Index: patches/eglibc-2.10.1-fixes-2.patch
===================================================================
--- patches/eglibc-2.10.1-fixes-2.patch	(revision 6c2128063f779493ce4d966fb7eeb6a48c578272)
+++ patches/eglibc-2.10.1-fixes-2.patch	(revision 6c2128063f779493ce4d966fb7eeb6a48c578272)
@@ -0,0 +1,51 @@
+Submitted By: Jim Gifford (jim at cross-lfs dot org)
+Date: 07-27-2009
+Initial Package Version: 2.10.1
+Origin: Upstream
+Upstream Status: Applied
+Description: These are fixes eglibc-2.10.1, and should be
+             rechecked periodically.
+
+diff -Naur libc.orig/elf/ldd.bash.in libc/elf/ldd.bash.in
+--- libc.orig/elf/ldd.bash.in	2009-02-13 18:31:14.000000000 +0000
++++ libc/elf/ldd.bash.in	2009-06-07 23:26:18.000000000 +0000
+@@ -1,4 +1,4 @@
+-#! @BASH@
++#! /bin/bash
+ # Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
+ # This file is part of the GNU C Library.
+ 
+diff -Naur libc.orig/sunrpc/Makefile libc/sunrpc/Makefile
+--- libc.orig/sunrpc/Makefile	2008-04-25 11:12:05.000000000 +0000
++++ libc/sunrpc/Makefile	2009-06-07 23:26:18.000000000 +0000
+@@ -144,11 +144,11 @@
+ 	$(+link)
+ 
+ $(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c
+-	gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
++	$(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
+ 		$(OUTPUT_OPTION) $(compile-mkdep-flags)
+ 
+ $(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs))
+-	gcc $^ -o $@
++	$(BUILD_CC) $^ -o $@
+ 
+ # This makes sure -DNOT_IN_libc is passed for all these modules.
+ cpp-srcs-left := $(rpcgen-objs:.o=.c)
+diff -Naur libc.orig/timezone/Makefile libc/timezone/Makefile
+--- libc.orig/timezone/Makefile	2009-03-03 13:14:09.000000000 +0000
++++ libc/timezone/Makefile	2009-06-07 23:26:18.000000000 +0000
+@@ -181,11 +181,11 @@
+ $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
+ 
+ $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
+-	gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
++	$(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
+ 		-DCROSS_ZIC $(compile-mkdep-flags)
+ 
+ $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
+-	gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
++	$(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
+ 
+ tz-cflags = -DTZDIR='"$(zonedir)"' \
+ 	    -DTZDEFAULT='"$(localtime-file)"' \
