gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / developer / gcc-10 / patches / 0031-Correct-path-to-elfdump.patch
blobe93766d38bfd024eba7464ef8d1c06bb2ac0156d
1 From f5807b48d751aec0ab251bfb4f0d3db84749a6c3 Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Fri, 10 Apr 2020 16:00:43 +0000
4 Subject: [PATCH 31/34] Correct path to elfdump
6 Not all illumos distributions have elfdump available as /usr/ccs/bin/elfdump
7 ---
8 contrib/make_sunver.pl | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl
12 index 8a90b1fea0d..34b2b4d86ea 100644
13 --- a/contrib/make_sunver.pl
14 +++ b/contrib/make_sunver.pl
15 @@ -55,7 +55,7 @@ foreach $file (@ARGV) {
16 # columns.
18 # The path to elfdump.
19 -my $elfdump = "/usr/ccs/bin/elfdump";
20 +my $elfdump = "/usr/bin/elfdump";
22 if (-f $elfdump) {
23 open ELFDUMP,$elfdump.' -s '.(join ' ',@OBJECTS).'|' or die $!;
24 --
25 2.31.1