diff options
author | root <root@rshg054.dnsready.net> | 2011-10-08 23:14:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-08 23:14:35 +0000 |
commit | 40e90a19618851856689ef8697391d37ec6841a1 (patch) | |
tree | 7da3732dc1ee59e1b8c7aca11aee032f01eaa639 /community/mingw32-gcc-base | |
parent | 8a8ac56bbf82685c43072923560881e6b119ec66 (diff) |
Sat Oct 8 23:14:35 UTC 2011
Diffstat (limited to 'community/mingw32-gcc-base')
-rw-r--r-- | community/mingw32-gcc-base/PKGBUILD | 14 | ||||
-rw-r--r-- | community/mingw32-gcc-base/gcc-1-mingw-float.patch | 18 |
2 files changed, 27 insertions, 5 deletions
diff --git a/community/mingw32-gcc-base/PKGBUILD b/community/mingw32-gcc-base/PKGBUILD index 4cfca514e..2c9409b71 100644 --- a/community/mingw32-gcc-base/PKGBUILD +++ b/community/mingw32-gcc-base/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 56196 2011-10-03 10:57:31Z spupykin $ +# $Id: PKGBUILD 56384 2011-10-07 07:19:05Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Ondrej Jirman <megous@megous.com> @@ -8,7 +8,7 @@ _w32apiver=3.17 _runtimever=3.20 _uprel=2 _upw32rel=1 -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) pkgdesc="A C cross-compiler for building Windows executables on Linux" depends=(mingw32-binutils) @@ -18,11 +18,13 @@ options=(!strip) license=(GPL LGPL) url="http://mingw.sf.net" source=(gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma::http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/GCC/Version4/gcc-$pkgver-${_uprel}/gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma - http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-${_w32apiver}/w32api-${_w32apiver}-${_upw32rel}-mingw32-src.tar.lzma - http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/MinGW-RT/mingwrt-${_runtimever}/mingwrt-${_runtimever}-mingw32-src.tar.gz) + http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-${_w32apiver}/w32api-${_w32apiver}-${_upw32rel}-mingw32-src.tar.lzma + http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/MinGW-RT/mingwrt-${_runtimever}/mingwrt-${_runtimever}-mingw32-src.tar.gz + gcc-1-mingw-float.patch) md5sums=('f8b09b7e51223e1ae1c1e466af3ac82e' '89e5800096aa334009f98e7c1743d825' - '26c0886cc60729b94956cc6d81cd076c') + '26c0886cc60729b94956cc6d81cd076c' + '2407123c35c0aa92ee5ffc27decca9a7') build() { @@ -39,6 +41,8 @@ build() cd $srcdir tar xjf gcc-$pkgver-${_uprel}-mingw32-src/gcc-$pkgver.tar.bz2 + patch -d $srcdir/gcc-$pkgver -Np1 < $srcdir/gcc-1-mingw-float.patch + mkdir -p $srcdir/build cd $srcdir/build diff --git a/community/mingw32-gcc-base/gcc-1-mingw-float.patch b/community/mingw32-gcc-base/gcc-1-mingw-float.patch new file mode 100644 index 000000000..365949ad7 --- /dev/null +++ b/community/mingw32-gcc-base/gcc-1-mingw-float.patch @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: +http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html +http://sourceforge.net/tracker/?func=detail&atid=302435&aid=3011968&group_id=2435 + +diff -urN a/gcc/ginclude/float.h b/gcc/ginclude/float.h +--- a/gcc/ginclude/float.h 2009-04-09 17:00:19.000000000 +0200 ++++ b/gcc/ginclude/float.h 2010-06-05 12:03:41.887724045 +0200 +@@ -275,3 +275,7 @@ + #endif /* __STDC_WANT_DEC_FP__ */ + + #endif /* _FLOAT_H___ */ ++ ++#ifdef __MINGW32__ ++#include_next<float.h> ++#endif |