toolchain/binutils: backport stable patches
[openwrt/staging/dedeckeh.git] / toolchain / binutils / patches / 2.40 / 007-Fix-version-number-snafu-in-some-configuration-files.patch
1 From 59706683feafb6252d0ad369cf8759f75fd147be Mon Sep 17 00:00:00 2001
2 From: Nick Clifton <nickc@redhat.com>
3 Date: Tue, 17 Jan 2023 12:02:56 +0000
4 Subject: [PATCH 07/50] Fix version number snafu in some configuration files:
5 2.40.00 should be 2.40
6
7 ---
8 binutils/configure | 20 ++++++++++----------
9 gprof/configure | 20 ++++++++++----------
10 gprofng/configure | 20 ++++++++++----------
11 gprofng/doc/version.texi | 4 ++--
12 gprofng/libcollector/configure | 20 ++++++++++----------
13 ld/configure | 20 ++++++++++----------
14 6 files changed, 52 insertions(+), 52 deletions(-)
15
16 --- a/binutils/configure
17 +++ b/binutils/configure
18 @@ -1,6 +1,6 @@
19 #! /bin/sh
20 # Guess values for system-dependent variables and create Makefiles.
21 -# Generated by GNU Autoconf 2.69 for binutils 2.40.00.
22 +# Generated by GNU Autoconf 2.69 for binutils 2.40.
23 #
24 #
25 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
26 @@ -587,8 +587,8 @@ MAKEFLAGS=
27 # Identity of this package.
28 PACKAGE_NAME='binutils'
29 PACKAGE_TARNAME='binutils'
30 -PACKAGE_VERSION='2.40.00'
31 -PACKAGE_STRING='binutils 2.40.00'
32 +PACKAGE_VERSION='2.40'
33 +PACKAGE_STRING='binutils 2.40'
34 PACKAGE_BUGREPORT=''
35 PACKAGE_URL=''
36
37 @@ -1401,7 +1401,7 @@ if test "$ac_init_help" = "long"; then
38 # Omit some internal or obsolete options to make the list less imposing.
39 # This message is too long to be a string in the A/UX 3.1 sh.
40 cat <<_ACEOF
41 -\`configure' configures binutils 2.40.00 to adapt to many kinds of systems.
42 +\`configure' configures binutils 2.40 to adapt to many kinds of systems.
43
44 Usage: $0 [OPTION]... [VAR=VALUE]...
45
46 @@ -1472,7 +1472,7 @@ fi
47
48 if test -n "$ac_init_help"; then
49 case $ac_init_help in
50 - short | recursive ) echo "Configuration of binutils 2.40.00:";;
51 + short | recursive ) echo "Configuration of binutils 2.40:";;
52 esac
53 cat <<\_ACEOF
54
55 @@ -1631,7 +1631,7 @@ fi
56 test -n "$ac_init_help" && exit $ac_status
57 if $ac_init_version; then
58 cat <<\_ACEOF
59 -binutils configure 2.40.00
60 +binutils configure 2.40
61 generated by GNU Autoconf 2.69
62
63 Copyright (C) 2012 Free Software Foundation, Inc.
64 @@ -2099,7 +2099,7 @@ cat >config.log <<_ACEOF
65 This file contains any messages produced by compilers while
66 running configure, to aid debugging if configure makes a mistake.
67
68 -It was created by binutils $as_me 2.40.00, which was
69 +It was created by binutils $as_me 2.40, which was
70 generated by GNU Autoconf 2.69. Invocation command line was
71
72 $ $0 $@
73 @@ -3081,7 +3081,7 @@ fi
74
75 # Define the identity of the package.
76 PACKAGE='binutils'
77 - VERSION='2.40.00'
78 + VERSION='2.40'
79
80
81 cat >>confdefs.h <<_ACEOF
82 @@ -15326,7 +15326,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
83 # report actual input values of CONFIG_FILES etc. instead of their
84 # values after options handling.
85 ac_log="
86 -This file was extended by binutils $as_me 2.40.00, which was
87 +This file was extended by binutils $as_me 2.40, which was
88 generated by GNU Autoconf 2.69. Invocation command line was
89
90 CONFIG_FILES = $CONFIG_FILES
91 @@ -15392,7 +15392,7 @@ _ACEOF
92 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
93 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
94 ac_cs_version="\\
95 -binutils config.status 2.40.00
96 +binutils config.status 2.40
97 configured by $0, generated by GNU Autoconf 2.69,
98 with options \\"\$ac_cs_config\\"
99
100 --- a/gprof/configure
101 +++ b/gprof/configure
102 @@ -1,6 +1,6 @@
103 #! /bin/sh
104 # Guess values for system-dependent variables and create Makefiles.
105 -# Generated by GNU Autoconf 2.69 for gprof 2.40.00.
106 +# Generated by GNU Autoconf 2.69 for gprof 2.40.
107 #
108 #
109 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
110 @@ -587,8 +587,8 @@ MAKEFLAGS=
111 # Identity of this package.
112 PACKAGE_NAME='gprof'
113 PACKAGE_TARNAME='gprof'
114 -PACKAGE_VERSION='2.40.00'
115 -PACKAGE_STRING='gprof 2.40.00'
116 +PACKAGE_VERSION='2.40'
117 +PACKAGE_STRING='gprof 2.40'
118 PACKAGE_BUGREPORT=''
119 PACKAGE_URL=''
120
121 @@ -1338,7 +1338,7 @@ if test "$ac_init_help" = "long"; then
122 # Omit some internal or obsolete options to make the list less imposing.
123 # This message is too long to be a string in the A/UX 3.1 sh.
124 cat <<_ACEOF
125 -\`configure' configures gprof 2.40.00 to adapt to many kinds of systems.
126 +\`configure' configures gprof 2.40 to adapt to many kinds of systems.
127
128 Usage: $0 [OPTION]... [VAR=VALUE]...
129
130 @@ -1409,7 +1409,7 @@ fi
131
132 if test -n "$ac_init_help"; then
133 case $ac_init_help in
134 - short | recursive ) echo "Configuration of gprof 2.40.00:";;
135 + short | recursive ) echo "Configuration of gprof 2.40:";;
136 esac
137 cat <<\_ACEOF
138
139 @@ -1520,7 +1520,7 @@ fi
140 test -n "$ac_init_help" && exit $ac_status
141 if $ac_init_version; then
142 cat <<\_ACEOF
143 -gprof configure 2.40.00
144 +gprof configure 2.40
145 generated by GNU Autoconf 2.69
146
147 Copyright (C) 2012 Free Software Foundation, Inc.
148 @@ -1885,7 +1885,7 @@ cat >config.log <<_ACEOF
149 This file contains any messages produced by compilers while
150 running configure, to aid debugging if configure makes a mistake.
151
152 -It was created by gprof $as_me 2.40.00, which was
153 +It was created by gprof $as_me 2.40, which was
154 generated by GNU Autoconf 2.69. Invocation command line was
155
156 $ $0 $@
157 @@ -2864,7 +2864,7 @@ fi
158
159 # Define the identity of the package.
160 PACKAGE='gprof'
161 - VERSION='2.40.00'
162 + VERSION='2.40'
163
164
165 cat >>confdefs.h <<_ACEOF
166 @@ -12572,7 +12572,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
167 # report actual input values of CONFIG_FILES etc. instead of their
168 # values after options handling.
169 ac_log="
170 -This file was extended by gprof $as_me 2.40.00, which was
171 +This file was extended by gprof $as_me 2.40, which was
172 generated by GNU Autoconf 2.69. Invocation command line was
173
174 CONFIG_FILES = $CONFIG_FILES
175 @@ -12638,7 +12638,7 @@ _ACEOF
176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
177 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
178 ac_cs_version="\\
179 -gprof config.status 2.40.00
180 +gprof config.status 2.40
181 configured by $0, generated by GNU Autoconf 2.69,
182 with options \\"\$ac_cs_config\\"
183
184 --- a/gprofng/configure
185 +++ b/gprofng/configure
186 @@ -1,6 +1,6 @@
187 #! /bin/sh
188 # Guess values for system-dependent variables and create Makefiles.
189 -# Generated by GNU Autoconf 2.69 for gprofng 2.40.00.
190 +# Generated by GNU Autoconf 2.69 for gprofng 2.40.
191 #
192 #
193 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
194 @@ -587,8 +587,8 @@ MAKEFLAGS=
195 # Identity of this package.
196 PACKAGE_NAME='gprofng'
197 PACKAGE_TARNAME='gprofng'
198 -PACKAGE_VERSION='2.40.00'
199 -PACKAGE_STRING='gprofng 2.40.00'
200 +PACKAGE_VERSION='2.40'
201 +PACKAGE_STRING='gprofng 2.40'
202 PACKAGE_BUGREPORT=''
203 PACKAGE_URL=''
204
205 @@ -1362,7 +1362,7 @@ if test "$ac_init_help" = "long"; then
206 # Omit some internal or obsolete options to make the list less imposing.
207 # This message is too long to be a string in the A/UX 3.1 sh.
208 cat <<_ACEOF
209 -\`configure' configures gprofng 2.40.00 to adapt to many kinds of systems.
210 +\`configure' configures gprofng 2.40 to adapt to many kinds of systems.
211
212 Usage: $0 [OPTION]... [VAR=VALUE]...
213
214 @@ -1433,7 +1433,7 @@ fi
215
216 if test -n "$ac_init_help"; then
217 case $ac_init_help in
218 - short | recursive ) echo "Configuration of gprofng 2.40.00:";;
219 + short | recursive ) echo "Configuration of gprofng 2.40:";;
220 esac
221 cat <<\_ACEOF
222
223 @@ -1547,7 +1547,7 @@ fi
224 test -n "$ac_init_help" && exit $ac_status
225 if $ac_init_version; then
226 cat <<\_ACEOF
227 -gprofng configure 2.40.00
228 +gprofng configure 2.40
229 generated by GNU Autoconf 2.69
230
231 Copyright (C) 2012 Free Software Foundation, Inc.
232 @@ -2079,7 +2079,7 @@ cat >config.log <<_ACEOF
233 This file contains any messages produced by compilers while
234 running configure, to aid debugging if configure makes a mistake.
235
236 -It was created by gprofng $as_me 2.40.00, which was
237 +It was created by gprofng $as_me 2.40, which was
238 generated by GNU Autoconf 2.69. Invocation command line was
239
240 $ $0 $@
241 @@ -3052,7 +3052,7 @@ fi
242
243 # Define the identity of the package.
244 PACKAGE='gprofng'
245 - VERSION='2.40.00'
246 + VERSION='2.40'
247
248
249 cat >>confdefs.h <<_ACEOF
250 @@ -17467,7 +17467,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
251 # report actual input values of CONFIG_FILES etc. instead of their
252 # values after options handling.
253 ac_log="
254 -This file was extended by gprofng $as_me 2.40.00, which was
255 +This file was extended by gprofng $as_me 2.40, which was
256 generated by GNU Autoconf 2.69. Invocation command line was
257
258 CONFIG_FILES = $CONFIG_FILES
259 @@ -17533,7 +17533,7 @@ _ACEOF
260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
261 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
262 ac_cs_version="\\
263 -gprofng config.status 2.40.00
264 +gprofng config.status 2.40
265 configured by $0, generated by GNU Autoconf 2.69,
266 with options \\"\$ac_cs_config\\"
267
268 --- a/gprofng/doc/version.texi
269 +++ b/gprofng/doc/version.texi
270 @@ -1,4 +1,4 @@
271 @set UPDATED 5 January 2023
272 @set UPDATED-MONTH January 2023
273 -@set EDITION 2.40.00
274 -@set VERSION 2.40.00
275 +@set EDITION 2.40
276 +@set VERSION 2.40
277 --- a/gprofng/libcollector/configure
278 +++ b/gprofng/libcollector/configure
279 @@ -1,6 +1,6 @@
280 #! /bin/sh
281 # Guess values for system-dependent variables and create Makefiles.
282 -# Generated by GNU Autoconf 2.69 for gprofng 2.40.00.
283 +# Generated by GNU Autoconf 2.69 for gprofng 2.40.
284 #
285 #
286 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
287 @@ -587,8 +587,8 @@ MAKEFLAGS=
288 # Identity of this package.
289 PACKAGE_NAME='gprofng'
290 PACKAGE_TARNAME='gprofng'
291 -PACKAGE_VERSION='2.40.00'
292 -PACKAGE_STRING='gprofng 2.40.00'
293 +PACKAGE_VERSION='2.40'
294 +PACKAGE_STRING='gprofng 2.40'
295 PACKAGE_BUGREPORT=''
296 PACKAGE_URL=''
297
298 @@ -1325,7 +1325,7 @@ if test "$ac_init_help" = "long"; then
299 # Omit some internal or obsolete options to make the list less imposing.
300 # This message is too long to be a string in the A/UX 3.1 sh.
301 cat <<_ACEOF
302 -\`configure' configures gprofng 2.40.00 to adapt to many kinds of systems.
303 +\`configure' configures gprofng 2.40 to adapt to many kinds of systems.
304
305 Usage: $0 [OPTION]... [VAR=VALUE]...
306
307 @@ -1396,7 +1396,7 @@ fi
308
309 if test -n "$ac_init_help"; then
310 case $ac_init_help in
311 - short | recursive ) echo "Configuration of gprofng 2.40.00:";;
312 + short | recursive ) echo "Configuration of gprofng 2.40:";;
313 esac
314 cat <<\_ACEOF
315
316 @@ -1505,7 +1505,7 @@ fi
317 test -n "$ac_init_help" && exit $ac_status
318 if $ac_init_version; then
319 cat <<\_ACEOF
320 -gprofng configure 2.40.00
321 +gprofng configure 2.40
322 generated by GNU Autoconf 2.69
323
324 Copyright (C) 2012 Free Software Foundation, Inc.
325 @@ -1991,7 +1991,7 @@ cat >config.log <<_ACEOF
326 This file contains any messages produced by compilers while
327 running configure, to aid debugging if configure makes a mistake.
328
329 -It was created by gprofng $as_me 2.40.00, which was
330 +It was created by gprofng $as_me 2.40, which was
331 generated by GNU Autoconf 2.69. Invocation command line was
332
333 $ $0 $@
334 @@ -2968,7 +2968,7 @@ fi
335
336 # Define the identity of the package.
337 PACKAGE='gprofng'
338 - VERSION='2.40.00'
339 + VERSION='2.40'
340
341
342 cat >>confdefs.h <<_ACEOF
343 @@ -16098,7 +16098,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
344 # report actual input values of CONFIG_FILES etc. instead of their
345 # values after options handling.
346 ac_log="
347 -This file was extended by gprofng $as_me 2.40.00, which was
348 +This file was extended by gprofng $as_me 2.40, which was
349 generated by GNU Autoconf 2.69. Invocation command line was
350
351 CONFIG_FILES = $CONFIG_FILES
352 @@ -16164,7 +16164,7 @@ _ACEOF
353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
354 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
355 ac_cs_version="\\
356 -gprofng config.status 2.40.00
357 +gprofng config.status 2.40
358 configured by $0, generated by GNU Autoconf 2.69,
359 with options \\"\$ac_cs_config\\"
360
361 --- a/ld/configure
362 +++ b/ld/configure
363 @@ -1,6 +1,6 @@
364 #! /bin/sh
365 # Guess values for system-dependent variables and create Makefiles.
366 -# Generated by GNU Autoconf 2.69 for ld 2.40.00.
367 +# Generated by GNU Autoconf 2.69 for ld 2.40.
368 #
369 #
370 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
371 @@ -587,8 +587,8 @@ MAKEFLAGS=
372 # Identity of this package.
373 PACKAGE_NAME='ld'
374 PACKAGE_TARNAME='ld'
375 -PACKAGE_VERSION='2.40.00'
376 -PACKAGE_STRING='ld 2.40.00'
377 +PACKAGE_VERSION='2.40'
378 +PACKAGE_STRING='ld 2.40'
379 PACKAGE_BUGREPORT=''
380 PACKAGE_URL=''
381
382 @@ -1423,7 +1423,7 @@ if test "$ac_init_help" = "long"; then
383 # Omit some internal or obsolete options to make the list less imposing.
384 # This message is too long to be a string in the A/UX 3.1 sh.
385 cat <<_ACEOF
386 -\`configure' configures ld 2.40.00 to adapt to many kinds of systems.
387 +\`configure' configures ld 2.40 to adapt to many kinds of systems.
388
389 Usage: $0 [OPTION]... [VAR=VALUE]...
390
391 @@ -1494,7 +1494,7 @@ fi
392
393 if test -n "$ac_init_help"; then
394 case $ac_init_help in
395 - short | recursive ) echo "Configuration of ld 2.40.00:";;
396 + short | recursive ) echo "Configuration of ld 2.40:";;
397 esac
398 cat <<\_ACEOF
399
400 @@ -1661,7 +1661,7 @@ fi
401 test -n "$ac_init_help" && exit $ac_status
402 if $ac_init_version; then
403 cat <<\_ACEOF
404 -ld configure 2.40.00
405 +ld configure 2.40
406 generated by GNU Autoconf 2.69
407
408 Copyright (C) 2012 Free Software Foundation, Inc.
409 @@ -2376,7 +2376,7 @@ cat >config.log <<_ACEOF
410 This file contains any messages produced by compilers while
411 running configure, to aid debugging if configure makes a mistake.
412
413 -It was created by ld $as_me 2.40.00, which was
414 +It was created by ld $as_me 2.40, which was
415 generated by GNU Autoconf 2.69. Invocation command line was
416
417 $ $0 $@
418 @@ -3359,7 +3359,7 @@ fi
419
420 # Define the identity of the package.
421 PACKAGE='ld'
422 - VERSION='2.40.00'
423 + VERSION='2.40'
424
425
426 cat >>confdefs.h <<_ACEOF
427 @@ -18083,7 +18083,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
428 # report actual input values of CONFIG_FILES etc. instead of their
429 # values after options handling.
430 ac_log="
431 -This file was extended by ld $as_me 2.40.00, which was
432 +This file was extended by ld $as_me 2.40, which was
433 generated by GNU Autoconf 2.69. Invocation command line was
434
435 CONFIG_FILES = $CONFIG_FILES
436 @@ -18149,7 +18149,7 @@ _ACEOF
437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
438 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
439 ac_cs_version="\\
440 -ld config.status 2.40.00
441 +ld config.status 2.40
442 configured by $0, generated by GNU Autoconf 2.69,
443 with options \\"\$ac_cs_config\\"
444