Date: Friday, September 7, 2012 @ 12:52:17 Author: stephane Revision: 166407
upgpkg: elfutils 0.155-1 upstream update Added: elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch (from rev 166395, elfutils/trunk/elfutils-0.154-binutils-pr-ld-13621.patch) Modified: elfutils/trunk/PKGBUILD Deleted: elfutils/trunk/elfutils-0.154-binutils-pr-ld-13621.patch -------------------------------------------+ PKGBUILD | 18 +++++++++--------- elfutils-0.154-binutils-pr-ld-13621.patch | 10 ---------- elfutils-0.155-binutils-pr-ld-13621.patch | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-09-07 16:52:15 UTC (rev 166406) +++ PKGBUILD 2012-09-07 16:52:17 UTC (rev 166407) @@ -1,11 +1,11 @@ # $Id$ -# Maintainer: +# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> # Contributor: Andrej Gelenberg <andrej.gelenb...@udo.edu> pkgname=elfutils -pkgver=0.154 +pkgver=0.155 pkgrel=1 -pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information" +pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information" arch=('i686' 'x86_64') url="https://fedorahosted.org/elfutils/" license=('LGPL3' 'GPL' 'GPL3') @@ -14,16 +14,16 @@ replaces=('libelf') conflicts=('libelf') options=('!makeflags') -source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} \ - elfutils-0.154-binutils-pr-ld-13621.patch) -sha1sums=('3a92a6f636cc3d14d4b3b00ba5c1e88a2a8d510b' - '956461d44b03823e0b448e78b1f4aa25ef269e1e' - '09681b728edb86c77eed47286554bef048f3507f') +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') build() { cd "${srcdir}/${pkgname}-${pkgver}" CFLAGS+=" -g" # required for test-suite success - patch -p1 -i "${srcdir}/elfutils-0.154-binutils-pr-ld-13621.patch" + patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch ./configure --prefix=/usr --program-prefix="eu-" make } Deleted: elfutils-0.154-binutils-pr-ld-13621.patch =================================================================== --- elfutils-0.154-binutils-pr-ld-13621.patch 2012-09-07 16:52:15 UTC (rev 166406) +++ elfutils-0.154-binutils-pr-ld-13621.patch 2012-09-07 16:52:17 UTC (rev 166407) @@ -1,10 +0,0 @@ -diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh -index 8aca9e1..d449416 100755 ---- a/tests/run-elflint-self.sh -+++ b/tests/run-elflint-self.sh -@@ -51,4 +51,4 @@ runtest ../libebl/libebl_sh.so - runtest ../libebl/libebl_sparc.so - runtest ../libebl/libebl_x86_64.so - --exit $status -+test $status == 0 || echo "binutils PR ld/13621 workaround" Copied: elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch (from rev 166395, elfutils/trunk/elfutils-0.154-binutils-pr-ld-13621.patch) =================================================================== --- elfutils-0.155-binutils-pr-ld-13621.patch (rev 0) +++ elfutils-0.155-binutils-pr-ld-13621.patch 2012-09-07 16:52:17 UTC (rev 166407) @@ -0,0 +1,16 @@ +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