]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-no-bash-nls.patch
- explicit ldconfig conflicts for glibc-ld
[packages/glibc.git] / glibc-no-bash-nls.patch
CommitLineData
75051ff3
JB
1--- glibc-2.31/elf/ldd.bash.in.orig 2020-02-01 12:52:50.000000000 +0100
2+++ glibc-2.31/elf/ldd.bash.in 2020-02-01 14:02:07.365985940 +0100
742e361d
ER
3@@ -1,4 +1,4 @@
4-#! @BASH@
6bb391cf 5+#!/bin/sh
6783033c 6 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
742e361d
ER
7 # This file is part of the GNU C Library.
8
75051ff3 9@@ -35,16 +35,16 @@
742e361d
ER
10 case "$1" in
11 --vers | --versi | --versio | --version)
ccca7e27 12 echo 'ldd @PKGVERSION@@VERSION@'
742e361d
ER
13- printf $"Copyright (C) %s Free Software Foundation, Inc.
14+ printf "Copyright (C) %s Free Software Foundation, Inc.
15 This is free software; see the source for copying conditions. There is NO
16 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6783033c 17 " "2021"
742e361d
ER
18- printf $"Written by %s and %s.
19+ printf "Written by %s and %s.
20 " "Roland McGrath" "Ulrich Drepper"
21 exit 0
22 ;;
23 --h | --he | --hel | --help)
24- echo $"Usage: ldd [OPTION]... FILE...
25+ echo "Usage: ldd [OPTION]... FILE...
26 --help print this help and exit
27 --version print version information and exit
28 -d, --data-relocs process data relocations
ccca7e27 29@@ -52,7 +52,7 @@
742e361d
ER
30 -u, --unused print unused direct dependencies
31 -v, --verbose print all information
32 "
ccca7e27
AM
33- printf $"For bug reporting instructions, please see:\\n%s.\\n" \
34+ printf "For bug reporting instructions, please see:\\n%s.\\n" \
35 "@REPORT_BUGS_TO@"
742e361d 36 exit 0
ccca7e27 37 ;;
75051ff3 38@@ -77,15 +77,15 @@
742e361d
ER
39 shift
40 ;;
41 --v | --ve | --ver)
42- echo >&2 $"ldd: option \`$1' is ambiguous"
43+ echo >&2 "ldd: option \`$1' is ambiguous"
44 exit 1
45 ;;
46 --) # Stop option processing.
47 shift; break
48 ;;
49 -*)
50- echo >&2 'ldd:' $"unrecognized option" "\`$1'"
51- echo >&2 $"Try \`ldd --help' for more information."
52+ echo >&2 'ldd:' "unrecognized option" "\`$1'"
53+ echo >&2 "Try \`ldd --help' for more information."
54 exit 1
55 ;;
56 *)
12105404 57@@ -121,8 +121,8 @@
742e361d
ER
58
59 case $# in
60 0)
61- echo >&2 'ldd:' $"missing file arguments"
62- echo >&2 $"Try \`ldd --help' for more information."
63+ echo >&2 'ldd:' "missing file arguments"
64+ echo >&2 "Try \`ldd --help' for more information."
65 exit 1
66 ;;
67 1)
75051ff3 68@@ -144,13 +144,13 @@
742e361d
ER
69 ;;
70 esac
71 if test ! -e "$file"; then
72- echo "ldd: ${file}:" $"No such file or directory" >&2
73+ echo "ldd: ${file}:" "No such file or directory" >&2
74 result=1
75 elif test ! -f "$file"; then
76- echo "ldd: ${file}:" $"not regular file" >&2
77+ echo "ldd: ${file}:" "not regular file" >&2
78 result=1
79 elif test -r "$file"; then
80- test -x "$file" || echo 'ldd:' $"\
81+ test -x "$file" || echo 'ldd:' "\
82 warning: you do not have execution permission for" "\`$file'" >&2
83 RTLD=
84 ret=1
75051ff3 85@@ -167,7 +167,7 @@
742e361d
ER
86 1)
87 # This can be a non-ELF binary or no binary at all.
88 nonelf "$file" || {
75051ff3
JB
89- echo $" not a dynamic executable" >&2
90+ echo " not a dynamic executable" >&2
742e361d
ER
91 result=1
92 }
93 ;;
75051ff3 94@@ -175,12 +175,12 @@
742e361d
ER
95 try_trace "$RTLD" "$file" || result=1
96 ;;
97 *)
98- echo 'ldd:' ${RTLD} $"exited with unknown exit code" "($ret)" >&2
99+ echo 'ldd:' ${RTLD} "exited with unknown exit code" "($ret)" >&2
100 exit 1
101 ;;
102 esac
103 else
104- echo 'ldd:' $"error: you do not have read permission for" "\`$file'" >&2
105+ echo 'ldd:' "error: you do not have read permission for" "\`$file'" >&2
106 result=1
107 fi
108 done
75051ff3
JB
109--- glibc-2.31/elf/sotruss.sh.orig 2020-02-01 13:38:05.830462075 +0100
110+++ glibc-2.31/elf/sotruss.sh 2020-02-01 14:06:25.601253626 +0100
982cc116
JB
111@@ -1,4 +1,4 @@
112-#! @BASH@
6bb391cf 113+#!/bin/sh
6783033c 114 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
982cc116
JB
115 # This file is part of the GNU C Library.
116
75051ff3
JB
117@@ -29,7 +29,7 @@
118 lib='@PREFIX@/$LIB/audit/sotruss-lib.so'
119
120 do_help() {
121- echo $"Usage: sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]
122+ echo "Usage: sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]
123 -F, --from FROMLIST Trace calls from objects on FROMLIST
124 -T, --to TOLIST Trace calls to objects on TOLIST
125
126@@ -43,28 +43,28 @@
127 --version Print program version"
128
129 echo
130- printf $"Mandatory arguments to long options are also mandatory for any corresponding\nshort options.\n"
131+ printf "Mandatory arguments to long options are also mandatory for any corresponding\nshort options.\n"
132 echo
133
134- printf $"For bug reporting instructions, please see:\\n%s.\\n" \
135+ printf "For bug reporting instructions, please see:\\n%s.\\n" \
136 "@REPORT_BUGS_TO@"
137 exit 0
138 }
139
140 do_missing_arg() {
141- printf >&2 $"%s: option requires an argument -- '%s'\n" sotruss "$1"
142- printf >&2 $"Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
143+ printf >&2 "%s: option requires an argument -- '%s'\n" sotruss "$1"
144+ printf >&2 "Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
145 exit 1
146 }
147
148 do_ambiguous() {
149- printf >&2 $"%s: option is ambiguous; possibilities:"
150+ printf >&2 "%s: option is ambiguous; possibilities:"
151 while test $# -gt 0; do
152 printf >&2 " '%s'" $1
153 shift
154 done
155 printf >&2 "\n"
156- printf >&2 $"Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
157+ printf >&2 "Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
158 exit 1
159 }
160
161@@ -72,18 +72,18 @@
982cc116
JB
162 case "$1" in
163 --v | --ve | --ver | --vers | --versi | --versio | --version)
164 echo "sotruss @PKGVERSION@@VERSION@"
165- printf $"Copyright (C) %s Free Software Foundation, Inc.
166+ printf "Copyright (C) %s Free Software Foundation, Inc.
167 This is free software; see the source for copying conditions. There is NO
168 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6783033c 169 " "2021"
982cc116
JB
170- printf $"Written by %s.\n" "Ulrich Drepper"
171+ printf "Written by %s.\n" "Ulrich Drepper"
172 exit 0
173 ;;
174 -\? | --h | --he | --hel | --help)
175 do_help
176 ;;
177 --u | --us | --usa | --usag | --usage)
178- printf $"Usage: %s [-ef] [-F FROMLIST] [-o FILENAME] [-T TOLIST] [--exit]
179+ printf "Usage: %s [-ef] [-F FROMLIST] [-o FILENAME] [-T TOLIST] [--exit]
180 [--follow] [--from FROMLIST] [--output FILENAME] [--to TOLIST]
181 [--help] [--usage] [--version] [--]
182 EXECUTABLE [EXECUTABLE-OPTION...]\n" sotruss
75051ff3
JB
183@@ -131,8 +131,8 @@
184 break
185 ;;
186 -*)
187- printf >&2 $"%s: unrecognized option '%c%s'\n" sotruss '-' ${1#-}
188- printf >&2 $"Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
189+ printf >&2 "%s: unrecognized option '%c%s'\n" sotruss '-' ${1#-}
190+ printf >&2 "Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
191 exit 1
192 ;;
193 *)
This page took 0.053957 seconds and 4 git commands to generate.