aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieltourde <danieltourde@32389bae-6d03-0410-99cf-db05cde120eb>2008-05-29 15:28:36 +0000
committerdanieltourde <danieltourde@32389bae-6d03-0410-99cf-db05cde120eb>2008-05-29 15:28:36 +0000
commit8ff9e5df0edfa8e59477e2af4e5471997c5e9acc (patch)
treea9db0c4afbcc3760a1836f7a52ec7c4d72e5f46d /sci-misc/salome-smesh/files
parentAdded Gcc-4.3 support. Thanks to Bert K. for his patches! (diff)
downloadsci-8ff9e5df0edfa8e59477e2af4e5471997c5e9acc.tar.gz
sci-8ff9e5df0edfa8e59477e2af4e5471997c5e9acc.tar.bz2
sci-8ff9e5df0edfa8e59477e2af4e5471997c5e9acc.zip
Added Gcc-4.3 support. Thanks to Bert K. for his patches!
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1113 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-misc/salome-smesh/files')
-rw-r--r--sci-misc/salome-smesh/files/salome-smesh-3.2.6-gcc-4.3.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-misc/salome-smesh/files/salome-smesh-3.2.6-gcc-4.3.patch b/sci-misc/salome-smesh/files/salome-smesh-3.2.6-gcc-4.3.patch
new file mode 100644
index 000000000..b015022e6
--- /dev/null
+++ b/sci-misc/salome-smesh/files/salome-smesh-3.2.6-gcc-4.3.patch
@@ -0,0 +1,39 @@
+diff -aur src3.2.6.old/SMESH_SRC_3.2.6/src/DriverUNV/UNV_Utilities.hxx src3.2.6/SMESH_SRC_3.2.6/src/DriverUNV/UNV_Utilities.hxx
+--- src3.2.6.old/SMESH_SRC_3.2.6/src/DriverUNV/UNV_Utilities.hxx 2008-05-25 19:32:52.000000000 +0200
++++ src3.2.6/SMESH_SRC_3.2.6/src/DriverUNV/UNV_Utilities.hxx 2008-05-26 03:23:15.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include <string>
+ #include <stdexcept>
+ #include <cassert>
++#include <cstdlib>
+
+ namespace UNV{
+ using namespace std;
+diff -aur src3.2.6.old/SMESH_SRC_3.2.6/src/MEFISTO2/aptrte.h src3.2.6/SMESH_SRC_3.2.6/src/MEFISTO2/aptrte.h
+--- src3.2.6.old/SMESH_SRC_3.2.6/src/MEFISTO2/aptrte.h 2008-05-25 19:32:52.000000000 +0200
++++ src3.2.6/SMESH_SRC_3.2.6/src/MEFISTO2/aptrte.h 2008-05-26 03:38:58.000000000 +0200
+@@ -31,8 +31,8 @@
+ #include <limits.h> // limites min max int long real ...
+ #include <unistd.h> // gethostname, ...
+ #include <stdio.h>
+-#include <iostream.h> // pour cout cin ...
+-#include <iomanip.h> // pour le format des io setw, stx, setfill, ...
++#include <iostream> // pour cout cin ...
++#include <iomanip> // pour le format des io setw, stx, setfill, ...
+ #include <string.h> // pour les fonctions sur les chaines de caracteres
+ #include <ctype.h>
+ #include <stdlib.h>
+diff -aur src3.2.6.old/SMESH_SRC_3.2.6/src/StdMeshers/StdMeshers_Prism_3D.hxx src3.2.6/SMESH_SRC_3.2.6/src/StdMeshers/StdMeshers_Prism_3D.hxx
+--- src3.2.6.old/SMESH_SRC_3.2.6/src/StdMeshers/StdMeshers_Prism_3D.hxx 2008-05-25 19:32:52.000000000 +0200
++++ src3.2.6/SMESH_SRC_3.2.6/src/StdMeshers/StdMeshers_Prism_3D.hxx 2008-05-26 03:47:51.000000000 +0200
+@@ -37,8 +37,8 @@
+ #include "SMESH_MesherHelper.hxx"
+ #include "SMESH_Comment.hxx"
+
+-#include <vector.h>
+-#include <map.h>
++#include <vector>
++#include <map>
+
+ #include <Adaptor3d_Curve.hxx>
+ #include <Adaptor3d_Surface.hxx>