summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-06-27 17:21:17 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-06-27 17:21:17 +0000
commita149e34da58524724332454b8cb3399508931e73 (patch)
tree0a03313d33c707d86db76d83ce15c4d1a54d4e61 /sci-physics/meep
parentBump. (diff)
downloadgentoo-2-a149e34da58524724332454b8cb3399508931e73.tar.gz
gentoo-2-a149e34da58524724332454b8cb3399508931e73.tar.bz2
gentoo-2-a149e34da58524724332454b8cb3399508931e73.zip
Added gcc-4.3 compatibility patch (fixes #229693).
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-SENTINEL-3 i686)
Diffstat (limited to 'sci-physics/meep')
-rw-r--r--sci-physics/meep/ChangeLog6
-rw-r--r--sci-physics/meep/files/meep-0.10.1-gcc4.3.patch11
-rw-r--r--sci-physics/meep/meep-0.10.1.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/sci-physics/meep/ChangeLog b/sci-physics/meep/ChangeLog
index cbcf27edc130..c1e1017a5f74 100644
--- a/sci-physics/meep/ChangeLog
+++ b/sci-physics/meep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/meep
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v 1.1 2008/02/06 15:05:05 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v 1.2 2008/06/27 17:21:17 markusle Exp $
+
+ 27 Jun 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/meep-0.10.1-gcc4.3.patch, meep-0.10.1.ebuild:
+ Added gcc-4.3 compatibility patch (fixes #229693).
*meep-0.10.1 (06 Feb 2008)
diff --git a/sci-physics/meep/files/meep-0.10.1-gcc4.3.patch b/sci-physics/meep/files/meep-0.10.1-gcc4.3.patch
new file mode 100644
index 000000000000..de8117953dcd
--- /dev/null
+++ b/sci-physics/meep/files/meep-0.10.1-gcc4.3.patch
@@ -0,0 +1,11 @@
+diff -Naur meep-0.10.1/src/update_e_from_d.cpp meep-0.10.1.new/src/update_e_from_d.cpp
+--- meep-0.10.1/src/update_e_from_d.cpp 2007-11-13 15:13:20.000000000 -0500
++++ meep-0.10.1.new/src/update_e_from_d.cpp 2008-06-27 11:22:21.000000000 -0400
+@@ -15,6 +15,7 @@
+ % Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
++#include <cstring>
+ #include "meep.hpp"
+ #include "meep_internals.hpp"
+
diff --git a/sci-physics/meep/meep-0.10.1.ebuild b/sci-physics/meep/meep-0.10.1.ebuild
index 5679224cc47f..c1c6ee962cdc 100644
--- a/sci-physics/meep/meep-0.10.1.ebuild
+++ b/sci-physics/meep/meep-0.10.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v 1.1 2008/02/06 15:05:05 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v 1.2 2008/06/27 17:21:17 markusle Exp $
inherit eutils autotools
@@ -25,6 +25,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-configure.ac.patch
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
AT_M4DIR="m4" eautoreconf
}