[arch-commits] Commit in elfutils/trunk (2 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Fri Sep 20 08:46:21 UTC 2013
Date: Friday, September 20, 2013 @ 10:46:21
Author: lcarlier
Revision: 194650
upgpkg: elfutils 0.156-1
upstream update 0.156
Modified:
elfutils/trunk/PKGBUILD
Deleted:
elfutils/trunk/elfutils-0.155-binutils-pr-ld-13621.patch
-------------------------------------------+
PKGBUILD | 21 ++++++++-------------
elfutils-0.155-binutils-pr-ld-13621.patch | 16 ----------------
2 files changed, 8 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-20 06:58:42 UTC (rev 194649)
+++ PKGBUILD 2013-09-20 08:46:21 UTC (rev 194650)
@@ -3,7 +3,7 @@
# Contributor: Andrej Gelenberg <andrej.gelenberg at 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 @@
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')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
+sha1sums=('48b30828eb0fb47787e45d80db05c05bbe0eaa76'
+ 'SKIP')
-prepare() {
+build() {
cd ${pkgname}-${pkgver}
- patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
- sed -i -e 's:-Werror::g' $(find -name Makefile.in)
-}
-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
}
Deleted: elfutils-0.155-binutils-pr-ld-13621.patch
===================================================================
--- elfutils-0.155-binutils-pr-ld-13621.patch 2013-09-20 06:58:42 UTC (rev 194649)
+++ elfutils-0.155-binutils-pr-ld-13621.patch 2013-09-20 08:46:21 UTC (rev 194650)
@@ -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
More information about the arch-commits
mailing list