Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc43.git;a=commitdiff;h=18a59da4c3126a8c166287febd5ee5c309070335

commit 18a59da4c3126a8c166287febd5ee5c309070335
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Mar 9 02:54:15 2008 +0100

gmp-4.2.2-2-i686
* release bump
* added devel-core to groups
* ( groups was twice in FB so one gone )
* added an patch to fix the build with gcc43 ( it needs cstdio )
* we need force the CHOST for this package
* we also need to autoreconf , auto* is broken

diff --git a/source/lib/gmp/FrugalBuild b/source/lib/gmp/FrugalBuild
index 61081ba..a35f61c 100644
--- a/source/lib/gmp/FrugalBuild
+++ b/source/lib/gmp/FrugalBuild
@@ -4,26 +4,31 @@

pkgname=gmp
pkgver=4.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="GNU multiple precision arithmetic library"
url="http://swox.com/gmp/";
-groups=('lib')
archs=('i686' 'x86_64')
-depends=('libstdc++')
+depends=('libstdc++>=4.3.0-2')
+makedepends=('libgcj')
Fup2gnubz2
-groups=('lib')
-source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.bz2)
+groups=('lib' 'devel-core')
+source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 
gcc43.patch)
Finclude texinfo
-signatures=($source.sig)
+signatures=($source.sig '')

build()
{
[ "$CARCH" == "i686" ] && export MPN_PATH="x86 generic"
[ "$CARCH" == "x86_64" ] && export MPN_PATH="x86_64 generic"
-       Fbuild --enable-cxx \
+       Fcd
+       Fpatchall
+       Fautoreconf
+       Fconf --enable-cxx \
--disable-static \
-               --with-gnu-ld
+               --build=$CHOST
Fmessage "Running make check"
+       make || Fdie
+       Fmakeinstall
make check || Fdie
}

diff --git a/source/lib/gmp/gcc43.patch b/source/lib/gmp/gcc43.patch
new file mode 100644
index 0000000..6f94c0d
--- /dev/null
+++ b/source/lib/gmp/gcc43.patch
@@ -0,0 +1,9 @@
+diff -up gmp-4.2.2/gmp-h.in.pom gmp-4.2.2/gmp-h.in
+--- gmp-4.2.2/gmp-h.in.pom     2007-09-03 18:05:40.000000000 +0200
++++ gmp-4.2.2/gmp-h.in 2008-02-13 09:53:48.000000000 +0100
+@@ -22,6 +22,7 @@ along with the GNU MP Library.  If not,
+
+ #if defined (__cplusplus)
+ #include <iosfwd>   /* for std::istream, std::ostream, std::string */
++#include <cstdio>
+ #endif
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to