aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieltourde <danieltourde@32389bae-6d03-0410-99cf-db05cde120eb>2008-05-29 15:41:46 +0000
committerdanieltourde <danieltourde@32389bae-6d03-0410-99cf-db05cde120eb>2008-05-29 15:41:46 +0000
commit22827dec47eba229203b7d299b84ee881779eb17 (patch)
tree77dffef07fc71ef15ae33ccd1280790051b840e4 /sci-misc
parentAdded Gcc-4.3 support. Thanks to Bert K. for his patches! (diff)
downloadsci-22827dec47eba229203b7d299b84ee881779eb17.tar.gz
sci-22827dec47eba229203b7d299b84ee881779eb17.tar.bz2
sci-22827dec47eba229203b7d299b84ee881779eb17.zip
Added Gcc-4.3 support. Thanks to Bert K. for his patches!
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1118 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/salome-component/Changelog6
-rw-r--r--sci-misc/salome-component/Manifest5
-rw-r--r--sci-misc/salome-component/files/salome-component-3.2.6-gcc-4.3.patch11
-rw-r--r--sci-misc/salome-component/salome-component-3.2.6.ebuild5
4 files changed, 24 insertions, 3 deletions
diff --git a/sci-misc/salome-component/Changelog b/sci-misc/salome-component/Changelog
index de0dfc31d..ac05d9879 100644
--- a/sci-misc/salome-component/Changelog
+++ b/sci-misc/salome-component/Changelog
@@ -1,6 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
-20 May 2008; Daniel Tourde <daniel.tourde@caelae.se>
+ 29 May 2008; Daniel Tourde <daniel.tourde@caelae.se>
+ +salome-component-3.2.6-gcc-4.3.patch
+ Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@web.de>
+
+ 20 May 2008; Daniel Tourde <daniel.tourde@caelae.se>
Initial import.
+salome-component-3.2.6.ebuild, +salome-component-3.2.6.patch
A major thank to Francois Dorin <f.dorin@free.fr>, Jon Hood <squinky86@gmail.com>, Dewald Pietersen <dewald.pieterse@gmail.com>, <etienne.lorriaux@gmail.com> and Richard Westwell <garlicbread@ntlworld.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks!
diff --git a/sci-misc/salome-component/Manifest b/sci-misc/salome-component/Manifest
index cc4b0673d..93be2fa20 100644
--- a/sci-misc/salome-component/Manifest
+++ b/sci-misc/salome-component/Manifest
@@ -1,4 +1,5 @@
+AUX salome-component-3.2.6-gcc-4.3.patch 560 RMD160 f3f40ff2750a3dcc5189f5e70567a28f931cfeaf SHA1 7998d668a0c0eabbba0ed996195a570db1cfcb62 SHA256 141b30503eaefe3b08f80d2fb59d294c8212760a9c712db87708a7e66e969844
AUX salome-component-3.2.6.patch 962 RMD160 6faa88abe04da39c973179c587703f16c4ef17ae SHA1 c4fc6b63e10895f5c59095b810e4aa3b6862377f SHA256 55cec4ae7912a51a27cc2597a4be523823f950499c2caf6deeeda4411cf7ab0d
DIST salome-3.2.6.tar.gz 88763725 RMD160 0a0b77aa538832265416605bf502df9e790b45b7 SHA1 e4736b8431d3a4f43541e09eed861f88a2a2f439 SHA256 1f4ae59538675242b179fa2af9bf9adeffe87c8d80d3e6798bca03eafc0bb258
-EBUILD salome-component-3.2.6.ebuild 4478 RMD160 cb76928042e73bb11630fa1f99cce70717734ab6 SHA1 d9cfe4aaf9be87a74415d951336feab110d7da4a SHA256 a8775e3ef2e9d199cd0606166386a50b963a2197cfbe11d2c4f0296c77b3c049
-MISC Changelog 574 RMD160 b90f46f8a1e572947026b86e7f66f836a3e72663 SHA1 ffe87f766784e33b40fc84304884d38911b32ebe SHA256 831abf7fe93f80a0ca60c192caa5e9c5aad8b2bc9453a9a173e9be7629ea6b3d
+EBUILD salome-component-3.2.6.ebuild 4596 RMD160 9eeb0dac0928d9ebab3f2935f373d2369d3d1835 SHA1 5bab5fe0c6eecb302c81ddee1cdf59b495c34211 SHA256 b83868d397349f7e21acfdb33f3bd06f89302a776639d54bd41d6cd4cfd8a552
+MISC Changelog 752 RMD160 44fc126b98f90e6a49dbc6198961140ef8f0c4bf SHA1 0005a04360fd12900c9a6147a3d54e9b654e0952 SHA256 25f4da7afbb4c344dd1a81a548c192252fdae19fb2acae7a65e530502366f5c9
diff --git a/sci-misc/salome-component/files/salome-component-3.2.6-gcc-4.3.patch b/sci-misc/salome-component/files/salome-component-3.2.6-gcc-4.3.patch
new file mode 100644
index 000000000..51c3c0d37
--- /dev/null
+++ b/sci-misc/salome-component/files/salome-component-3.2.6-gcc-4.3.patch
@@ -0,0 +1,11 @@
+diff -aur src3.2.6.old/COMPONENT_SRC_3.2.6/src/SyrComponent/SyrComponent_CheckOfUndefined.cxx src3.2.6/COMPONENT_SRC_3.2.6/src/SyrComponent/SyrComponent_CheckOfUndefined.cxx
+--- src3.2.6.old/COMPONENT_SRC_3.2.6/src/SyrComponent/SyrComponent_CheckOfUndefined.cxx 2008-05-25 19:32:48.000000000 +0200
++++ src3.2.6/COMPONENT_SRC_3.2.6/src/SyrComponent/SyrComponent_CheckOfUndefined.cxx 2008-05-26 02:08:55.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include <fstream>
+ #include <strstream>
+ #include <string>
++#include <cstring>
+ #include <math.h>
+
+ using namespace std;
diff --git a/sci-misc/salome-component/salome-component-3.2.6.ebuild b/sci-misc/salome-component/salome-component-3.2.6.ebuild
index c3d446081..2affcbaf7 100644
--- a/sci-misc/salome-component/salome-component-3.2.6.ebuild
+++ b/sci-misc/salome-component/salome-component-3.2.6.ebuild
@@ -56,6 +56,11 @@ src_unpack()
unpack ${A}
cd "${MY_S}"
epatch "${FILESDIR}"/${P}.patch
+
+ # Gcc 4.3 support
+ if version_is_at_least "4.3" $(gcc-version) ; then
+ epatch "${FILESDIR}"/${P}-gcc-4.3.patch
+ fi
}