summaryrefslogtreecommitdiff
path: root/extra/gdb/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-28 11:07:39 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-28 11:07:39 +0200
commit806ca548788626fe84773cbe06fd55bef805d185 (patch)
treed53fb8e39a208a3ef32d7538cd0dd6bed28690b0 /extra/gdb/PKGBUILD
parentf64b3623ffcd182eeabcc818db3e900cdd072817 (diff)
parentf38edbff3878008c8b2ae1ca8a496c349763017b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk-kde4/PKGBUILD community/hubbub/PKGBUILD community/libcss/PKGBUILD community/libnsbmp/PKGBUILD community/libnsgif/PKGBUILD community/libwapcaplet/PKGBUILD extra/gdb/PKGBUILD
Diffstat (limited to 'extra/gdb/PKGBUILD')
-rw-r--r--extra/gdb/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
index 8fbd7bd1a..d4f3401d1 100644
--- a/extra/gdb/PKGBUILD
+++ b/extra/gdb/PKGBUILD
@@ -1,10 +1,10 @@
-# $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
-pkgrel=1.1
+pkgver=7.6
+pkgrel=1
pkgdesc="The GNU Debugger"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gdb/"
@@ -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}