summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/gcc')
-rw-r--r--abs/core-testing/gcc/PKGBUILD24
-rw-r--r--abs/core-testing/gcc/buildfix_new_bison.patch22
2 files changed, 40 insertions, 6 deletions
diff --git a/abs/core-testing/gcc/PKGBUILD b/abs/core-testing/gcc/PKGBUILD
index 7319d97..f0d6b7e 100644
--- a/abs/core-testing/gcc/PKGBUILD
+++ b/abs/core-testing/gcc/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 17247 2008-10-27 08:12:22Z jgc $
+# $Id: PKGBUILD 19322 2008-11-20 11:36:53Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=gcc
-pkgver=4.3.1
-pkgrel=1
-_snapshot=4.3-20080724
+pkgver=4.3.2
+pkgrel=2
+#_snapshot=4.3-20080724
pkgdesc="The GNU Compiler Collection"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
groups=('base-devel')
url="http://gcc.gnu.org"
-depends=('binutils>=2.18-9' "gcc-libs>=${pkgver}" 'mpfr>=2.3.1' 'texinfo')
+depends=('binutils>=2.19' "gcc-libs>=${pkgver}" 'mpfr>=2.3.1' 'texinfo')
makedepends=('flex')
replaces=('gcc-fortran' 'gcc-objc')
options=('!libtool')
@@ -21,7 +21,18 @@ source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,o
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-20080118.tar.bz2
gcc_pure64.patch
gcc-hash-style-both.patch
- gcc-java-driver.patch)
+ gcc-java-driver.patch
+ buildfix_new_bison.patch)
+md5sums=('dd8048b43d3d4e5595bcade47b9144c6'
+ 'bfdf8d19e1b85f522f8b8d48d25e7aaa'
+ 'b3294ae213d65e05aacb9b46d11e1025'
+ '08efa42ef267f8759146aa4e11904d25'
+ '4a1dee5782dccc505072c6401cf1d4c3'
+ '990881456a89b1ffbd68d2d7188759da'
+ '4030ee1c08dd1e843c0225b772360e76'
+ 'bb420bc84b1104455b7230b1cd4b96c2'
+ 'c82665e579850eb37cdee8349d614dbe'
+ '412fb8ebb30958eb1a93e9bd89413dd7')
build() {
if ! locale -a | grep ^de_DE; then
@@ -39,6 +50,7 @@ build() {
fi
patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch || return 1
patch -Np0 -i ${srcdir}/gcc-java-driver.patch || return 1
+ patch -Np0 -i ${srcdir}/buildfix_new_bison.patch || return 1
echo ${pkgver} > gcc/BASE-VER
diff --git a/abs/core-testing/gcc/buildfix_new_bison.patch b/abs/core-testing/gcc/buildfix_new_bison.patch
new file mode 100644
index 0000000..01b8880
--- /dev/null
+++ b/abs/core-testing/gcc/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: