From 22251e3341578926fdff2733962c592caa2e885e Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 13 Mar 2006 10:18:23 +0000 Subject: [PATCH] Apply patch for netgen sources in order to avoid compilation problems on gcc 4 (Mandriva 2006) --- config_files/netgen-4.3.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2