From 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jul 2012 00:01:52 +0000 Subject: Thu Jul 19 00:01:52 UTC 2012 --- extra/elfutils/PKGBUILD | 18 ++++++++++-------- .../elfutils/elfutils-0.154-binutils-pr-ld-13621.patch | 10 ++++++++++ 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 extra/elfutils/elfutils-0.154-binutils-pr-ld-13621.patch (limited to 'extra/elfutils') diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD index e7ed03e86..8cbee1e68 100644 --- a/extra/elfutils/PKGBUILD +++ b/extra/elfutils/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 157084 2012-04-23 13:56:25Z allan $ +# $Id: PKGBUILD 163718 2012-07-18 03:05:26Z eric $ # Maintainer: # Contributor: Andrej Gelenberg pkgname=elfutils -pkgver=0.153 +pkgver=0.154 pkgrel=1 pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information" arch=('i686' 'x86_64') url="https://fedorahosted.org/elfutils/" -license=('GPL2') -depends=('glibc') +license=('LGPL3' 'GPL' 'GPL3') +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}) -md5sums=('289a146182bc29f0236eaa15d8ebdf98' - '1af9fe25e9316173b81fa4fad3a17ed5') +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') build() { cd "${srcdir}/${pkgname}-${pkgver}" CFLAGS+=" -g" # required for test-suite success + patch -p1 -i "${srcdir}/elfutils-0.154-binutils-pr-ld-13621.patch" ./configure --prefix=/usr --program-prefix="eu-" make } check() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i "s#./alldts#testrun ./alldts#" tests/run-alldts.sh make check } diff --git a/extra/elfutils/elfutils-0.154-binutils-pr-ld-13621.patch b/extra/elfutils/elfutils-0.154-binutils-pr-ld-13621.patch new file mode 100644 index 000000000..06dba1ea6 --- /dev/null +++ b/extra/elfutils/elfutils-0.154-binutils-pr-ld-13621.patch @@ -0,0 +1,10 @@ +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" -- cgit v1.2.3-54-g00ecf