From f4e571896d591acc502eb949173a755943a5653d Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 15 May 2006 11:01:16 +0000 Subject: [PATCH] PAL12396 (problem with netgen-4.5 installation from sources) --- config_files/netgen-4.5.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} -- 2.39.2