[arch-commits] Commit in mingw-w64-gcc/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Nov 5 15:23:27 UTC 2014


    Date: Wednesday, November 5, 2014 @ 16:23:27
  Author: spupykin
Revision: 121957

upgpkg: mingw-w64-gcc 4.9.2-1

upd

Modified:
  mingw-w64-gcc/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-05 14:36:00 UTC (rev 121956)
+++ PKGBUILD	2014-11-05 15:23:27 UTC (rev 121957)
@@ -5,14 +5,16 @@
 _targets="i686-w64-mingw32 x86_64-w64-mingw32"
 
 pkgname=mingw-w64-gcc
-pkgver=4.9.1
-pkgrel=2
+pkgver=4.9.2
+_islver=0.12.2
+_cloogver=0.18.1
+pkgrel=1
 pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
 arch=('i686' 'x86_64')
 url="http://gcc.gnu.org"
 license=('GPL' 'LGPL' 'FDL' 'custom')
 groups=('mingw-w64-toolchain' 'mingw-w64')
-depends=('zlib' 'libmpc' 'cloog'
+depends=('zlib' 'libmpc'
 	 'mingw-w64-crt' 'mingw-w64-binutils' 'mingw-w64-winpthreads'
 	 'mingw-w64-headers')
 makedepends=("gcc-ada=${pkgver}" 'mingw-w64-gcc-base')
@@ -24,15 +26,21 @@
 backup=()
 options=('!strip' 'staticlibs' '!emptydirs' '!buildflags')
 source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2"
-        'gcc-make-xmmintrin-header-cplusplus-compatible.patch'
-        'isl.patch')
-md5sums=('fddf71348546af523353bd43d34919c1'
-         'da6c9ba6baebe1286f3219d4181cdbb8'
-         'd99c0a484178b890526d180de1c6e8f8')
+	"http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2"
+	"http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz"
+	'gcc-make-xmmintrin-header-cplusplus-compatible.patch')
+md5sums=('4df8ee253b7f3863ad0b86359cd39c43'
+         'e039bfcfb6c2ab039b8ee69bf883e824'
+         'e34fca0540d840e5d0f6427e98c92252'
+         'da6c9ba6baebe1286f3219d4181cdbb8')
 
 prepare() {
   cd ${srcdir}/gcc-${pkgver}
 
+  # link isl/cloog for in-tree builds
+  ln -s ../isl-${_islver} isl
+  ln -s ../cloog-${_cloogver} cloog
+
   #do not install libiberty
   sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
@@ -44,7 +52,6 @@
   # /usr/lib/gcc/i686-w64-mingw32/4.8.0/include/xmmintrin.h:997:1: error: previous declaration of 'int _m_pextrw(__m64, int)' with 'C++' linkage
   # /usr/i686-w64-mingw32/include/intrin.h:561:28: error: conflicts with new declaration with 'C' linkage
   patch -p0 -i ${srcdir}/gcc-make-xmmintrin-header-cplusplus-compatible.patch
-  patch -p1 <$srcdir/isl.patch
 }
 
 build() {
@@ -57,7 +64,6 @@
         --enable-shared --enable-static \
         --enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes \
         --with-system-zlib --enable-cloog-backend=isl \
-        --disable-cloog-version-check --disable-isl-version-check \
         --enable-lto --disable-dw2-exceptions --enable-libgomp \
         --disable-multilib --enable-checking=release
     make all


More information about the arch-commits mailing list