summaryrefslogtreecommitdiff
path: root/multilib/binutils-multilib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/binutils-multilib/PKGBUILD')
-rw-r--r--multilib/binutils-multilib/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/multilib/binutils-multilib/PKGBUILD b/multilib/binutils-multilib/PKGBUILD
index d561a25da..78be6ccc6 100644
--- a/multilib/binutils-multilib/PKGBUILD
+++ b/multilib/binutils-multilib/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 46021 2011-05-02 00:26:22Z heftig $
+# $Id: PKGBUILD 46786 2011-05-11 15:43:26Z heftig $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=binutils-multilib
pkgver=2.21
-pkgrel=7
+pkgrel=8
_date=20110430
pkgdesc="A set of programs to assemble and manipulate binary and object files for multilib"
arch=('x86_64')
@@ -19,10 +19,16 @@ depends=('glibc>=2.13' 'zlib')
makedepends=('dejagnu' 'gcc-multilib') # Make sure we compile this with gcc-multilib
options=('!libtool' '!distcc' '!ccache')
install=binutils.install
-source=(http://mirrors.kernel.org/archlinux/other/binutils/binutils-${pkgver}_${_date}.tar.bz2)
-md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec')
+source=(http://mirrors.kernel.org/archlinux/other/binutils/binutils-${pkgver}_${_date}.tar.bz2
+ binutils-2.21-strip-segfault.patch)
+md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec'
+ '98e8dfaf1c0ededa586823ebfb27825a')
build() {
+ cd ${srcdir}/binutils
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=12632
+ patch -Np1 -i $srcdir/binutils-2.21-strip-segfault.patch
+
cd ${srcdir}
mkdir binutils-build && cd binutils-build