diff --git a/srcpkgs/gcc/patches/armhf-triplet-trunk.diff b/srcpkgs/gcc/patches/armhf-triplet-trunk.diff deleted file mode 100644 index ede49fcabc..0000000000 --- a/srcpkgs/gcc/patches/armhf-triplet-trunk.diff +++ /dev/null @@ -1,102 +0,0 @@ ---- gcc/ada/gcc-interface/Makefile.in 2012-06-12 09:12:37.000000000 -0600 -+++ gcc/ada/gcc-interface/Makefile.in 2012-07-06 19:53:20.740322776 -0600 -@@ -1867,7 +1867,7 @@ - LIBRARY_VERSION := $(LIB_VERSION) - endif - --ifeq ($(strip $(filter-out arm% linux-gnueabi,$(arch) $(osys)-$(word 4,$(targ)))),) -+ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi,$(word 4,$(targ))),,$(word 4,$(targ)))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads - // ---- libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc 2011-09-21 05:23:11.000000000 -0600 -+++ libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc 2012-07-06 19:53:20.763761026 -0600 -@@ -1,5 +1,5 @@ - // { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" } --// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } } -+// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux-*eabi* } } - - // 2007-05-03 Benjamin Kosnik - // diff --git a/srcpkgs/gcc/patches/gcc-4.7.1-libgo-write.patch b/srcpkgs/gcc/patches/gcc-4.7.1-libgo-write.patch deleted file mode 100644 index 2260e231d1..0000000000 --- a/srcpkgs/gcc/patches/gcc-4.7.1-libgo-write.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53679 - ---- libgo/runtime/print.c 2012-05-26 04:22:14.000000000 +1000 -+++ libgo/runtime/print.c 2012-06-16 15:06:28.553138502 +1000 -@@ -17,7 +17,8 @@ - G* g = runtime_g(); - - if(g == nil || g->writebuf == nil) { -- runtime_write(2, v, n); -+ ssize_t bytesWritten = runtime_write(2, v, n); -+ (void)bytesWritten; - return; - } diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index 6249822ee8..82390e3e93 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -1,8 +1,8 @@ # Template build file for 'gcc' pkgname=gcc _majorver=4.7 -version=${_majorver}.2 -revision=2 +version=${_majorver}.3 +revision=1 hostmakedepends="perl flex" makedepends="zlib-devel gmp-devel mpfr-devel mpc-devel ppl-devel>=1.0 cloog-devel" short_desc="The GNU C Compiler" @@ -10,7 +10,7 @@ maintainer="Juan RP " homepage="http://gcc.gnu.org" license="GFDL-1.2, GPL-3, LGPL-2.1" distfiles="http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2" -checksum=8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084 +checksum=2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then # Required stuff for multilib packages.