diff options
Diffstat (limited to 'abs/core/gcc-libs')
-rw-r--r-- | abs/core/gcc-libs/PKGBUILD | 45 | ||||
-rw-r--r-- | abs/core/gcc-libs/buildfix_new_bison.patch | 22 |
2 files changed, 48 insertions, 19 deletions
diff --git a/abs/core/gcc-libs/PKGBUILD b/abs/core/gcc-libs/PKGBUILD index 7bca5de..3edfc76 100644 --- a/abs/core/gcc-libs/PKGBUILD +++ b/abs/core/gcc-libs/PKGBUILD @@ -1,29 +1,33 @@ -# $Id: PKGBUILD 6599 2008-07-25 17:11:14Z andyrtr $ +# $Id: PKGBUILD 25244 2009-01-24 17:53:12Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + pkgname=gcc-libs -pkgver=4.3.1 -pkgrel=12 -_snapshot=4.3-20080724 +pkgver=4.3.3 +pkgrel=1 +#_snapshot=4.3-20080724 pkgdesc="Runtime libraries shipped by GCC for C and C++ languages" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL' 'LGPL') groups=('base') url="http://gcc.gnu.org" -depends=('glibc>=2.8-2') -makedepends=('binutils>=2.18-8' 'gcc>=4.3.1' 'mpfr>=2.3.1' 'texinfo') +depends=('glibc>=2.8-3') +makedepends=('binutils>=2.19' 'gcc>=4.3.2' 'mpfr>=2.3.1' 'texinfo' 'flex') conflicts=('gcc-fortran' 'gcc-objc') provides=("gcc-objc=${pkgver}") -options=('!libtool' '!emptydirs') -source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc}-${pkgver}.tar.bz2 - ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc}-${_snapshot}.tar.bz2 +options=('!libtool' '!emptydirs' '!docs') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc}-${pkgver}.tar.bz2 + #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc}-${_snapshot}.tar.bz2 gcc_pure64.patch - gcc-hash-style-both.patch) -md5sums=('99ce6170e379779fe9c0971f9e27c704' - 'e39db43584ec603b314348405c753bd5' - '76b9d6a71eb2cd778cd6ad3e9d576c64' - '2b2456702ca6362b01583160e888be14' + gcc-hash-style-both.patch + buildfix_new_bison.patch) +md5sums=('1739288c2c7b1472796b33d641dbdbbd' + '18428e313a9927d38b313e688c62219b' + '8771e6190dd4f3178b2a7978d2380a5d' + '125b75947c763ba59b7ea95d3739d431' '4030ee1c08dd1e843c0225b772360e76' - 'bb420bc84b1104455b7230b1cd4b96c2') + 'bb420bc84b1104455b7230b1cd4b96c2' + '412fb8ebb30958eb1a93e9bd89413dd7') build() { if ! locale -a | grep ^de_DE; then @@ -31,8 +35,8 @@ build() { return 1 fi - #cd ${srcdir}/gcc-${pkgver} - cd ${srcdir}/gcc-${_snapshot} + cd ${srcdir}/gcc-${pkgver} + #cd ${srcdir}/gcc-${_snapshot} # Don't install libiberty sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in @@ -40,11 +44,12 @@ build() { patch -Np1 -i ../gcc_pure64.patch || return 1 fi patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch || return 1 + patch -Np0 -i ${srcdir}/buildfix_new_bison.patch || return 1 # Don't run fixincludes sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - echo ${pkgver} > gcc/BASE-VER +# echo ${pkgver} > gcc/BASE-VER mkdir build cd build @@ -62,4 +67,6 @@ build() { rm -rf ${pkgdir}/usr/bin rm -rf ${pkgdir}/usr{,share}/man find ${pkgdir} -name gcc.mo -delete + +# rm -f {pkgdir}/usr/share/info/dir } diff --git a/abs/core/gcc-libs/buildfix_new_bison.patch b/abs/core/gcc-libs/buildfix_new_bison.patch new file mode 100644 index 0000000..01b8880 --- /dev/null +++ b/abs/core/gcc-libs/buildfix_new_bison.patch @@ -0,0 +1,22 @@ +--- gcc/treelang/parse.y 2007-07-18 08:19:29.000000000 +0000 ++++ gcc/treelang/parse.y.new 2008-11-20 06:40:00.013275486 +0000 +@@ -369,7 +369,6 @@ + current_function = NULL; + } + ; +- + variable_defs_opt: + /* Nil. */ { + $$ = 0; +@@ -685,9 +684,9 @@ + + expressions_with_commas_opt: + /* Nil. */ { +-$$ = 0 ++$$ = 0; + } +-|expressions_with_commas { $$ = $1 } ++|expressions_with_commas { $$ = $1; } + ; + + expressions_with_commas: |