source: patches/eglibc-2.10.1-fixes-2.patch@ 5275ccd

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5275ccd was 6c21280, checked in by Jim Gifford <clfs@…>, 15 years ago

Forgot to update eglibc fixes patch. Now up to -2

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[d8f87e8]1Submitted By: Jim Gifford (jim at cross-lfs dot org)
[6c21280]2Date: 07-27-2009
[d8f87e8]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
10--- libc.orig/elf/ldd.bash.in 2009-02-13 18:31:14.000000000 +0000
11+++ libc/elf/ldd.bash.in 2009-06-07 23:26:18.000000000 +0000
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/sunrpc/Makefile libc/sunrpc/Makefile
19--- libc.orig/sunrpc/Makefile 2008-04-25 11:12:05.000000000 +0000
20+++ libc/sunrpc/Makefile 2009-06-07 23:26:18.000000000 +0000
21@@ -144,11 +144,11 @@
22 $(+link)
23
24 $(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c
25- gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
26+ $(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
27 $(OUTPUT_OPTION) $(compile-mkdep-flags)
28
29 $(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs))
30- gcc $^ -o $@
31+ $(BUILD_CC) $^ -o $@
32
33 # This makes sure -DNOT_IN_libc is passed for all these modules.
34 cpp-srcs-left := $(rpcgen-objs:.o=.c)
35diff -Naur libc.orig/timezone/Makefile libc/timezone/Makefile
36--- libc.orig/timezone/Makefile 2009-03-03 13:14:09.000000000 +0000
37+++ libc/timezone/Makefile 2009-06-07 23:26:18.000000000 +0000
38@@ -181,11 +181,11 @@
39 $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
40
41 $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
42- gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
43+ $(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
44 -DCROSS_ZIC $(compile-mkdep-flags)
45
46 $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
47- gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
48+ $(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
49
50 tz-cflags = -DTZDIR='"$(zonedir)"' \
51 -DTZDEFAULT='"$(localtime-file)"' \
Note: See TracBrowser for help on using the repository browser.