component(developer/golang-123): Add Component
[oi-userland.git] / components / developer / gcc-12 / patches / 0029-Correct-path-to-elfdump.patch
blob03f26f46d39401eaae1189f28a3e16dbba50b4be
1 From 41382d2203f28060cbafd16c5411cd534a0984b6 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: 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 @@
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 $!;