summaryrefslogtreecommitdiff
path: root/core/gcc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gcc/PKGBUILD')
-rw-r--r--core/gcc/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index 32a53b565..f1bf35876 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 147558 2012-01-25 22:42:47Z allan $
+# $Id: PKGBUILD 148652 2012-02-05 03:55:39Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
@@ -10,7 +10,7 @@ else
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc')
fi
pkgver=4.6.2
-pkgrel=6
+pkgrel=7
_snapshot=4.6-20120120
_libstdcppmanver=20111215 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
@@ -29,12 +29,8 @@ source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man.${_libstdcppmanver}.tar.bz2
gcc_pure64.patch
gcc_mips64el_lib.patch
- gcc-hash-style-both.patch)
-md5sums=('f7ca5d9f7a07216577f81318b7cf56ef'
- '450772ce32daed97d7383199f8797f33'
- '4030ee1c08dd1e843c0225b772360e76'
- '67e337993d821d72fccacbed52d48c34'
- '4df25b623799b148a0703eaeec8fdf3f')
+ gcc-hash-style-both.patch
+ gcc-4.6.2-cloog-0.17.patch)
if [ -n "${_snapshot}" ]; then
_basedir="${srcdir}/gcc-${_snapshot}"
@@ -58,6 +54,9 @@ build() {
fi
patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
+ # compatibility with latest cloog
+ patch -Np1 -i ${srcdir}/gcc-4.6.2-cloog-0.17.patch
+
echo ${pkgver} > gcc/BASE-VER
cd ${srcdir}