From: vsr Date: Mon, 13 Mar 2006 10:18:23 +0000 (+0000) Subject: Apply patch for netgen sources in order to avoid compilation problems on gcc 4 (Mandr... X-Git-Tag: mergeto_SALOME_3_17May06~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22251e3341578926fdff2733962c592caa2e885e;p=tools%2Finstall.git Apply patch for netgen sources in order to avoid compilation problems on gcc 4 (Mandriva 2006) --- diff --git a/config_files/netgen-4.3.sh b/config_files/netgen-4.3.sh index f05e846..e0a079c 100755 --- a/config_files/netgen-4.3.sh +++ b/config_files/netgen-4.3.sh @@ -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