source: clfs-sysroot/patches/eglibc-2.10.1-fixes-2.patch@ 4fc026e

Last change on this file since 4fc026e was 9c8c5a8, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Updated the EGlibc fixes patch to -2.

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[51a1403]1Submitted By: Jim Gifford (jim at cross-lfs dot org)
[9c8c5a8]2Date: 07-26-2009
[51a1403]3Initial Package Version: 2.10.1
4Origin: Upstream
5Upstream Status: Applied
6Description: These are fixes eglibc-2.10.1, and should be
7 rechecked periodically.
8
9diff -Naur libc.orig/elf/ldd.bash.in libc/elf/ldd.bash.in
[9c8c5a8]10--- libc.orig/elf/ldd.bash.in 2009-02-13 13:31:14.533608000 -0500
11+++ libc/elf/ldd.bash.in 2009-07-26 17:57:12.160403278 -0400
[51a1403]12@@ -1,4 +1,4 @@
13-#! @BASH@
14+#! /bin/bash
15 # Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
16 # This file is part of the GNU C Library.
17
18diff -Naur libc.orig/libio/Makefile libc/libio/Makefile
[9c8c5a8]19--- libc.orig/libio/Makefile 2009-07-02 16:03:14.096441000 -0400
20+++ libc/libio/Makefile 2009-07-26 17:57:12.160403278 -0400
[51a1403]21@@ -170,6 +170,7 @@
22 tst-fopenloc-ENV = LOCPATH=$(common-objpfx)localedata \
23 MALLOC_TRACE=$(objpfx)tst-fopenloc.mtrace
24 tst-fgetws-ENV = LOCPATH=$(common-objpfx)localedata
25+tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
26 tst-ungetwc1-ENV = LOCPATH=$(common-objpfx)localedata
27 tst-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
28 bug-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
29diff -Naur libc.orig/sunrpc/Makefile libc/sunrpc/Makefile
[9c8c5a8]30--- libc.orig/sunrpc/Makefile 2008-04-25 07:12:05.875033000 -0400
31+++ libc/sunrpc/Makefile 2009-07-26 17:57:12.157073385 -0400
[51a1403]32@@ -144,11 +144,11 @@
33 $(+link)
34
35 $(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c
36- gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
37+ $(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
38 $(OUTPUT_OPTION) $(compile-mkdep-flags)
39
40 $(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs))
41- gcc $^ -o $@
42+ $(BUILD_CC) $^ -o $@
43
44 # This makes sure -DNOT_IN_libc is passed for all these modules.
45 cpp-srcs-left := $(rpcgen-objs:.o=.c)
46diff -Naur libc.orig/timezone/Makefile libc/timezone/Makefile
[9c8c5a8]47--- libc.orig/timezone/Makefile 2009-03-03 08:14:09.770962000 -0500
48+++ libc/timezone/Makefile 2009-07-26 17:57:12.157073385 -0400
[51a1403]49@@ -181,11 +181,11 @@
50 $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
51
52 $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
53- gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
54+ $(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
55 -DCROSS_ZIC $(compile-mkdep-flags)
56
57 $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
58- gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
59+ $(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
60
61 tz-cflags = -DTZDIR='"$(zonedir)"' \
62 -DTZDEFAULT='"$(localtime-file)"' \
Note: See TracBrowser for help on using the repository browser.