[arch-commits] Commit in elfutils/trunk (2 files)
Eric Bélanger
eric at archlinux.org
Wed Jul 18 03:05:06 UTC 2012
Date: Tuesday, July 17, 2012 @ 23:05:06
Author: eric
Revision: 163717
upgpkg: elfutils 0.154-1
Upstream update, Update license, Fix depends, Add patch to fix tests
Added:
elfutils/trunk/elfutils-0.154-binutils-pr-ld-13621.patch
Modified:
elfutils/trunk/PKGBUILD
-------------------------------------------+
PKGBUILD | 16 +++++++++-------
elfutils-0.154-binutils-pr-ld-13621.patch | 10 ++++++++++
2 files changed, 19 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-07-18 02:17:05 UTC (rev 163716)
+++ PKGBUILD 2012-07-18 03:05:06 UTC (rev 163717)
@@ -3,31 +3,33 @@
# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
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
}
Added: elfutils-0.154-binutils-pr-ld-13621.patch
===================================================================
--- elfutils-0.154-binutils-pr-ld-13621.patch (rev 0)
+++ elfutils-0.154-binutils-pr-ld-13621.patch 2012-07-18 03:05:06 UTC (rev 163717)
@@ -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"
More information about the arch-commits
mailing list