summaryrefslogtreecommitdiff
path: root/extra/gdb/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-28 01:12:25 -0700
committerroot <root@rshg054.dnsready.net>2013-04-28 01:12:25 -0700
commitf38edbff3878008c8b2ae1ca8a496c349763017b (patch)
tree4f9ff6891842a0a6dcd9c0c8424ec8f16527e023 /extra/gdb/PKGBUILD
parenta27a6af53095da314eca1d33911f72775dfc2bce (diff)
Sun Apr 28 01:11:42 PDT 2013
Diffstat (limited to 'extra/gdb/PKGBUILD')
-rw-r--r--extra/gdb/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
index 6e0648ba4..6cfef2bdf 100644
--- a/extra/gdb/PKGBUILD
+++ b/extra/gdb/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 172148 2012-11-30 04:20:34Z allan $
+# $Id: PKGBUILD 183696 2013-04-27 07:01:47Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gdb
-pkgver=7.5.1
+pkgver=7.6
pkgrel=1
pkgdesc="The GNU Debugger"
arch=('i686' 'x86_64')
@@ -15,8 +15,15 @@ backup=('etc/gdb/gdbinit')
options=('!libtool')
install=gdb.install
source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('3f48f468b24447cf24820054ff6e85b1'
- '31ab569c78a01d3f946c6fe0336175fe')
+md5sums=('fda57170e4d11cdde74259ca575412a8'
+ 'SKIP')
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
build() {
cd ${srcdir}/${pkgname}-${pkgver}