summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-07-25 02:31:16 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-07-25 02:31:16 +0000
commit5966ae18d77d380179196c0ba720202ea663837f (patch)
treefed9374224124fffc517c6d1c0c23430aeefa9cc /sci-mathematics/freemat
parentFix compilation with gcc-4.4. Thanks to Victor Ostorga <vostorga AT gentoo D... (diff)
downloadhistorical-5966ae18d77d380179196c0ba720202ea663837f.tar.gz
historical-5966ae18d77d380179196c0ba720202ea663837f.tar.bz2
historical-5966ae18d77d380179196c0ba720202ea663837f.zip
Patch to fix compilation with gcc-4.4 by Martin Väth <vaeth AT mathematik.uni-wuerzburg DOT de>; bug #269278
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/freemat')
-rw-r--r--sci-mathematics/freemat/ChangeLog7
-rw-r--r--sci-mathematics/freemat/Manifest13
-rw-r--r--sci-mathematics/freemat/files/freemat-3.6-gcc44.patch20
-rw-r--r--sci-mathematics/freemat/freemat-3.6.ebuild3
4 files changed, 35 insertions, 8 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog
index 935d8c285959..9ba0850876cc 100644
--- a/sci-mathematics/freemat/ChangeLog
+++ b/sci-mathematics/freemat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/freemat
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.15 2009/01/29 09:51:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.16 2009/07/25 02:31:15 halcy0n Exp $
+
+ 25 Jul 2009; Mark Loeser <halcy0n@gentoo.org> freemat-3.6.ebuild,
+ +files/freemat-3.6-gcc44.patch:
+ Patch to fix compilation with gcc-4.4 by Martin Väth <vaeth AT
+ mathematik.uni-wuerzburg DOT de>; bug #269278
29 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> freemat-3.6.ebuild:
Added qt-svg dependency, switch to eapi 2
diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest
index dc956ddc360a..ec8e5bf638f3 100644
--- a/sci-mathematics/freemat/Manifest
+++ b/sci-mathematics/freemat/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX freemat-3.6-gcc44.patch 414 RMD160 9fad803969f30910cf8da539d1c9fc92e87e9e73 SHA1 43b526feacd539160371f23978833d74f1b195b8 SHA256 5e34882bf33ec9a28bcdbacd8f94246cdf5308248d36a908853606dd377c2887
AUX freemat-3.6-includes.patch 12718 RMD160 81e22774a89ead773b7a7cc49dfce272014198bd SHA1 83af91282c6771cb6d7cac13fd5a2d83d1defe59 SHA256 4b9b71e1ad007f32c85b45e5ce950e552c167c9942bab91d77ba53c9a088d9d9
AUX freemat-3.6-optional-deps.patch 2768 RMD160 53da537a8bb00e64ff887884217a7a46ccb28c05 SHA1 6b83d60570277a610f22a0e143e8afd88c44abdb SHA256 ff30ab1a5897234e91251b31bc3ef5e8acc97f8adb5b9443aebddecd83d5259c
DIST FreeMat-3.6.tar.gz 7843736 RMD160 5af31332f42aafe952c6495b16ceee5ce4ab5d1c SHA1 2ffaac015f870409ceb07eae035efb94ab1d95cb SHA256 2cbc8b4435add159df11b734fd2736029b80f6c9712e53e5aa156eac1aac5951
-EBUILD freemat-3.6.ebuild 1954 RMD160 2f74effc2778b981b0fc1ed849c0403d6056b370 SHA1 b98f255c42fe75e4e836e555c2c17611093fc2f9 SHA256 9c149a3a05112c928a170a28dde843876f290b1db4368a4256e2a1d0a7b84a75
-MISC ChangeLog 2842 RMD160 43dc1b7eb7e99c5bfa7d40185dc737cb870fb605 SHA1 ed6c78d7dff62bc2e15f1f98737afbf43101c442 SHA256 bf2982d4333b56ee321a6939593302720037f53d3005a658c7b247061142179c
+EBUILD freemat-3.6.ebuild 1992 RMD160 c37657c8a471ce401d3f462e64a10ae849d399f8 SHA1 d131a7ffc2b87d33c1f6ff14309855d3117371dc SHA256 03f88ce2ae85e3b7c3b4eee78bc6bf18698fadc018fa498499e6742d009a432e
+MISC ChangeLog 3058 RMD160 8d71be17199e435ca49d8e6bc63c03e10901047a SHA1 89a3eb4efe30e771143cce0df108790dd7cfa261 SHA256 2c9cd18e1ce55d42867a398e8b12fab50e6c7cda54e4763ca0b0be3a1c7c9811
MISC metadata.xml 835 RMD160 5d8fd93f94698b3342fa248378ada24c699f2ebe SHA1 3157bcd820f78c979338b18715a037ab9bc5bb6e SHA256 6a845d43fec77797c266774c6667bab9707098c1ffae00ef62626f3130214aa7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkmBfBoACgkQ1ycZbhPLE2DsRgCgiYQDlU841s5Eg1/yLXNCnRYO
-VxIAn0uEa7V7vrnkg7m3T+GQ1dTIBnD/
-=snjI
+iEYEARECAAYFAkpqbn4ACgkQCRZPokWLroQX6QCghco2hoWWJ8+DoN6gdF8+LG6N
+LHAAoOHvBbqh2kL+T3Jul1aFJ3QPYlba
+=YcUV
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch b/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch
new file mode 100644
index 000000000000..b145d25e3405
--- /dev/null
+++ b/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch
@@ -0,0 +1,20 @@
+--- configure.in
++++ configure.in
+@@ -64,6 +64,7 @@
+ platform="--linux"
+ MP_WITH_CURSES
+ LIBS="$LIBS $CURSES_LIB $FLIBS $QT_LIBS"
++ LIBS="$LIBS -lGLU"
+ fi
+
+ if (test "$cross_compiling" = "yes"); then
+--- libs/libFreeMat/IEEEFP.cpp
++++ libs/libFreeMat/IEEEFP.cpp
+@@ -17,6 +17,7 @@
+ *
+ */
+ #include "IEEEFP.hpp"
++#include <cstdio>
+
+ static bool endianDetected = false;
+ static bool bigEndian = false;
diff --git a/sci-mathematics/freemat/freemat-3.6.ebuild b/sci-mathematics/freemat/freemat-3.6.ebuild
index b4109a78b838..473f50839cb6 100644
--- a/sci-mathematics/freemat/freemat-3.6.ebuild
+++ b/sci-mathematics/freemat/freemat-3.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.6 2009/01/29 09:51:13 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.7 2009/07/25 02:31:15 halcy0n Exp $
EAPI="2"
inherit eutils autotools fdo-mime
@@ -38,6 +38,7 @@ src_prepare() {
# allow enable/disable for configure
epatch "${FILESDIR}"/${P}-optional-deps.patch
epatch "${FILESDIR}"/${P}-includes.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch
eautoreconf
}