From: vsr Date: Mon, 15 May 2006 11:01:16 +0000 (+0000) Subject: PAL12396 (problem with netgen-4.5 installation from sources) X-Git-Tag: mergeto_SALOME_3_17May06~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4e571896d591acc502eb949173a755943a5653d;p=tools%2Finstall.git PAL12396 (problem with netgen-4.5 installation from sources) --- diff --git a/config_files/netgen-4.5.sh b/config_files/netgen-4.5.sh index 86c0654..f9b55a4 100755 --- a/config_files/netgen-4.5.sh +++ b/config_files/netgen-4.5.sh @@ -52,8 +52,11 @@ check_jb tar xfz ${SOURCE_DIR}/netgen-4.5.tar.gz -C ${INSTALL_WORK} export MACHINE=LINUX +# apply general patch for SALOME +(cd ${PRODUCT_WORK}; cp ngtcltk/ngnewdelete.* libsrc/interface) + # apply patch: to make compilable on latest versions of gcc -(cd ${PRODUCT_WORK}/libsrc/meshing; echo -e '14s/^$/class Mesh;\nwq' | ed - meshtype.hpp > /dev/null) +(cd ${PRODUCT_WORK}/libsrc/meshing; echo -e '16s/^$/class Mesh;\nwq' | ed - meshtype.hpp > /dev/null) for directory in csg general geom2d gprim interface linalg meshing opti stlgeom ; do cd ${PRODUCT_WORK}/libsrc/${directory}