diff options
author | Joan Bruguera | 2022-08-30 06:46:04 +0200 |
---|---|---|
committer | Joan Bruguera | 2022-08-30 07:13:02 +0200 |
commit | 5237f4c32fc4a86d56ff3ae41c0cc947969f2c13 (patch) | |
tree | a73377e1a4b12adcec9b0c11117fcf8db3ef0538 | |
parent | 06caaa2ef5ba4016c09d6987e7bc416478bda37f (diff) | |
download | aur-5237f4c32fc4a86d56ff3ae41c0cc947969f2c13.tar.gz |
Fix build with new binutils headers
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = extrae pkgdesc = Instrumentation framework to generate execution traces of the most used parallel runtimes (from BSC). pkgver = 4.0.1.20220513 - pkgrel = 3 + pkgrel = 4 url = https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname='extrae' pkgdesc='Instrumentation framework to generate execution traces of the most used parallel runtimes (from BSC).' pkgver='4.0.1.20220513' -pkgrel='3' +pkgrel='4' arch=('i686' 'x86_64') url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools' license=('LGPL2.1') @@ -17,6 +17,9 @@ sha512sums=(58cbe06b1eb738dba3c9d38a96ca8a9bf442c492214e086876af25b8d7e01c379b46 prepare() { cd "$srcdir/$pkgname-${pkgver%.*}" + # Replace PTR type (from ansidecl.h) which was recently removed from binutils + sed -i 's|PTR|void *|g' src/merger/common/bfd_manager.c + # Upstream issue: https://github.com/bsc-performance-tools/extrae/issues/27 patch -Np1 -i "$srcdir/extrae-issue-27-fix-pie-address-translation.patch" patch -Np1 -i "$srcdir/extrae-Fix-references-to-the-build-directory.patch" |