summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Bruguera2022-08-30 06:46:04 +0200
committerJoan Bruguera2022-08-30 07:13:02 +0200
commit5237f4c32fc4a86d56ff3ae41c0cc947969f2c13 (patch)
treea73377e1a4b12adcec9b0c11117fcf8db3ef0538
parent06caaa2ef5ba4016c09d6987e7bc416478bda37f (diff)
downloadaur-5237f4c32fc4a86d56ff3ae41c0cc947969f2c13.tar.gz
Fix build with new binutils headers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 407b6aa384c4..c4fb95e5fe42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 53ef0aafba7f..6aa2f41b1d63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"