summaryrefslogtreecommitdiff
path: root/extra/elfutils
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-22 22:10:36 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-22 22:10:36 +0100
commitaebba8cfcb8c0ef8befa351c73fbd228e07475e2 (patch)
treeaa5af2c98554d3a3f9b55d9529e5ecd7468c5384 /extra/elfutils
parentaa49e201b1464851bcebcd821592a2fceeaddcbc (diff)
Apply Debian patches to elfutils.
Diffstat (limited to 'extra/elfutils')
-rw-r--r--extra/elfutils/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 3e3f66aa6..d98237d68 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elfutils
pkgver=0.152
pkgrel=2
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/elfutils/"
license=('GPL2')
depends=('glibc')
@@ -14,12 +14,19 @@ depends=('glibc')
provides=('libelf')
replaces=('libelf')
conflicts=('libelf')
-source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
-md5sums=('39739ed58a0fa1862eff8735f111fe5c')
+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=('39739ed58a0fa1862eff8735f111fe5c'
+ '687eea13e5393a6a6074740ad31c3893')
build()
{
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ for patch in $(cat ../debian/patches/series) ; do
+ patch -Np1 -i "../debian/patches/$patch"
+ done
+
./configure --prefix=/usr --program-prefix="eu-"
make
make check