summaryrefslogtreecommitdiff
path: root/extra/elfutils
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-07-23 18:13:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-07-23 18:13:37 +0200
commitcc565b7309a5708f2375b5f6926d173fd122119d (patch)
treec1d4adcda7f0b767537620aea02633158e17218a /extra/elfutils
parentc25ed1401d3fa3dd6827c33bc11b660dcd425f23 (diff)
parenta65eb6fe2ea0ffa22c65de34506c88aeeb3c88ee (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/electricsheep/PKGBUILD community/bitcoin/PKGBUILD community/gnash/PKGBUILD community/mongodb/PKGBUILD community/xmlrpc-c/PKGBUILD community/xmoto/PKGBUILD core/kbd/PKGBUILD extra/elfutils/PKGBUILD extra/gtk2/PKGBUILD extra/hddtemp/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/php-apc/PKGBUILD extra/pulseaudio/PKGBUILD extra/pyqt/PKGBUILD extra/quota-tools/PKGBUILD extra/rhythmbox/PKGBUILD extra/virtuoso/PKGBUILD extra/vlc/PKGBUILD extra/xf86-video-siliconmotion/PKGBUILD kde-unstable/soprano/PKGBUILD libre/epdfview-libre/PKGBUILD libre/pacman/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/wine/PKGBUILD multilib/zsnes/PKGBUILD testing/bash/PKGBUILD testing/bison/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus/PKGBUILD testing/readline/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'extra/elfutils')
-rw-r--r--extra/elfutils/PKGBUILD22
-rw-r--r--extra/elfutils/elfutils-0.154-binutils-pr-ld-13621.patch10
2 files changed, 23 insertions, 9 deletions
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 464fa01ec..f9bfb2142 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 157084 2012-04-23 13:56:25Z allan $
+# $Id: PKGBUILD 163718 2012-07-18 03:05:26Z eric $
# Maintainer:
# Contributor: Andrej Gelenberg <andrej.gelenberg@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' 'mips64el')
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
- http://cdn.debian.net/debian/pool/main/e/elfutils/elfutils_${pkgver}-1.debian.tar.gz)
-md5sums=('289a146182bc29f0236eaa15d8ebdf98'
- '3bcccdf802f0a15a55543b0931c480dd')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} \
+ elfutils-0.154-binutils-pr-ld-13621.patch
+ http://cdn.debian.net/debian/pool/main/e/elfutils/elfutils_0.153-1.debian.tar.gz)
+sha1sums=('3a92a6f636cc3d14d4b3b00ba5c1e88a2a8d510b'
+ '956461d44b03823e0b448e78b1f4aa25ef269e1e'
+ '09681b728edb86c77eed47286554bef048f3507f'
+ 'ff79e1438275dffb2f5b15a58bff9b0d083a3de0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -28,13 +31,14 @@ build() {
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"