diff options
Diffstat (limited to 'extra/elfutils')
-rw-r--r-- | extra/elfutils/PKGBUILD | 23 | ||||
-rw-r--r-- | extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch | 16 |
2 files changed, 9 insertions, 30 deletions
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD index 3c4cd5a6d..57a45fb85 100644 --- a/extra/elfutils/PKGBUILD +++ b/extra/elfutils/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 189328 2013-07-03 01:24:05Z eric $ +# $Id: PKGBUILD 194689 2013-09-22 08:17:23Z lcarlier $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> pkgname=elfutils -pkgver=0.155 +pkgver=0.156 pkgrel=1 pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information" arch=('i686' 'x86_64') @@ -13,32 +13,27 @@ depends=('gcc-libs' 'zlib' 'bzip2' 'xz') provides=('libelf') replaces=('libelf') conflicts=('libelf') -options=('!makeflags') -source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} - elfutils-0.155-binutils-pr-ld-13621.patch) -sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b' - 'fcd0ebd029b305bf030983daf151a2a1ab5294af' - '8a8be7c0686c6311c1ce969ba10494e704ead48c') - -prepare() { - cd ${pkgname}-${pkgver} - patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch - sed -i -e 's:-Werror::g' $(find -name Makefile.in) -} +source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}) +sha1sums=('48b30828eb0fb47787e45d80db05c05bbe0eaa76' + 'SKIP') build() { cd ${pkgname}-${pkgver} + CFLAGS+=" -g" # required for test-suite success ./configure --prefix=/usr --program-prefix="eu-" + make } check() { cd ${pkgname}-${pkgver} + make check } package() { cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch b/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch deleted file mode 100644 index 7f99ac0be..000000000 --- a/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh -index 4b01008..7a5f0c8 100755 ---- a/tests/run-elflint-self.sh -+++ b/tests/run-elflint-self.sh -@@ -18,4 +18,11 @@ - - . $srcdir/test-subr.sh - -+# Makes sure we exit cleanly even when we don't... -+clean_exit() -+{ -+ if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi -+} -+trap clean_exit EXIT -+ - testrun_on_self ../src/elflint --quiet --gnu-ld |