pacman/scripts
Allan McRae bdf6aa3fb7 libmakepkg: fix detection of source file names for debug packages
The current gcc build from git master give different output from
readelf:

gcc-10.2.0
$ readelf "hello" --debug-dump | grep hello
<11> DW_AT_name : (indirect string, offset: 0xbfc): hello.cpp

gcc-git
$ readelf "hello" --debug-dump | grep hello
<12> DW_AT_name : (indirect line string, offset: 0x0): hello.cpp

This causes the awk statement extracting the file name to fail as it
relied on the information being in the 8th field. Instead, extract
the information from the final field.

Fixes FS#70168

Signed-off-by: Allan McRae <allan@archlinux.org>
2021-03-27 09:22:15 +10:00
..
completion Add pacman-conf zsh completions 2020-09-03 12:55:34 +10:00
libmakepkg libmakepkg: fix detection of source file names for debug packages 2021-03-27 09:22:15 +10:00
po scripts/library: remove human_to_size 2019-11-06 15:52:21 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
makepkg-template.pl.in Update copyright year 2021-03-01 12:22:20 +10:00
makepkg.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
meson.build meson: make non-symlink scripts install for real, and use a better wrapper 2019-11-26 10:49:57 +10:00
pacman-db-upgrade.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
pacman-key.sh.in fix syntax error when running pacman-key --help 2021-03-06 12:01:26 +10:00
repo-add.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
wrapper.sh.in Update copyright year 2021-03-01 12:22:20 +10:00