From e191a289464c21aafe7478065ea7ed3ddda0766f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Aug 2013 02:14:34 -0700 Subject: Sat Aug 3 02:13:05 PDT 2013 --- core/bison/PKGBUILD | 6 +++--- core/gcc/PKGBUILD | 17 +++++++++++------ core/gcc/gcc-4.8-filename-output.patch | 17 +++++++++++++++++ 3 files changed, 31 insertions(+), 9 deletions(-) create mode 100644 core/gcc/gcc-4.8-filename-output.patch (limited to 'core') diff --git a/core/bison/PKGBUILD b/core/bison/PKGBUILD index 7b254540a..d8ead584f 100644 --- a/core/bison/PKGBUILD +++ b/core/bison/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 183046 2013-04-17 02:02:01Z allan $ +# $Id: PKGBUILD 191960 2013-08-02 00:55:04Z allan $ # Maintainer: Allan McRae # Contributor: Eric Belanger pkgname=bison -pkgver=2.7.1 +pkgver=3.0 pkgrel=1 pkgdesc="The GNU general-purpose parser generator" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('glibc' 'm4' 'sh') groups=('base-devel') install=bison.install source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz{,.sig}) -md5sums=('7be02eb973eccf388f1ae750fc09eed0' +md5sums=('a2624994561aa69f056c904c1ccb2880' 'SKIP') build() { diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index 73d6ef280..f40139fbb 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 186997 2013-06-03 02:50:08Z allan $ +# $Id: PKGBUILD 191961 2013-08-02 00:55:05Z allan $ # Maintainer: Allan McRae # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc @@ -6,8 +6,8 @@ pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go') pkgver=4.8.1 -pkgrel=1 -#_snapshot=4.8-20130502 +pkgrel=2 +_snapshot=4.8-20130725 pkgdesc="The GNU Compiler Collection" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL' 'custom') @@ -15,9 +15,11 @@ url="http://gcc.gnu.org" makedepends=('binutils>=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen') checkdepends=('dejagnu' 'inetutils') options=('!libtool' '!emptydirs') -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) - #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2 -md5sums=('3b2386c114cd74185aa3754b58a79304') +source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) + ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2 + gcc-4.8-filename-output.patch) +md5sums=('e21f259bc4c44e61e19a780ad5badfeb' + '40cb437805e2f7a006aa0d0c3098ab0f') if [ -n "${_snapshot}" ]; then @@ -40,6 +42,9 @@ prepare() { # hack! - some configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653 + patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch + mkdir ${srcdir}/gcc-build } diff --git a/core/gcc/gcc-4.8-filename-output.patch b/core/gcc/gcc-4.8-filename-output.patch new file mode 100644 index 000000000..6951eb239 --- /dev/null +++ b/core/gcc/gcc-4.8-filename-output.patch @@ -0,0 +1,17 @@ +--- gcc/c-family/c-opts.c (revision 200330) ++++ gcc/c-family/c-opts.c (working copy) +@@ -1338,10 +1338,14 @@ c_finish_options (void) + + /* Give CPP the next file given by -include, if any. */ + static void + push_command_line_include (void) + { ++ // This can happen if disabled by -imacros for example. ++ if (include_cursor > deferred_count) ++ return; ++ + if (!done_preinclude) + { + done_preinclude = true; + if (flag_hosted && std_inc && !cpp_opts->preprocessed) + { -- cgit v1.2.3-54-g00ecf