]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Apply patch for netgen sources in order to avoid compilation problems on gcc 4 (Mandr...
authorvsr <vsr@opencascade.com>
Mon, 13 Mar 2006 10:18:23 +0000 (10:18 +0000)
committervsr <vsr@opencascade.com>
Mon, 13 Mar 2006 10:18:23 +0000 (10:18 +0000)
config_files/netgen-4.3.sh

index f05e846a195f46ba0821da9a6aab233382ed39c8..e0a079c659d94457d02658fb7e942c9c2d78fedd 100755 (executable)
@@ -52,6 +52,9 @@ check_jb tar xfz ${SOURCE_DIR}/netgen-4.3.tar.gz -C ${INSTALL_WORK}
 
 export MACHINE=LINUX
 
+# apply patch: to make compilable on latest versions of gcc
+(cd ${PRODUCT_WORK}/libsrc/meshing; echo -e '14s/^$/class Mesh;\nwq' | ed - meshtype.hpp)
+
 for directory in csg general geom2d gprim interface linalg meshing opti stlgeom ; do
     cd ${PRODUCT_WORK}/libsrc/${directory}
     check_job ${PRODUCT_DIR}/MAKE.LOG make