From 9357cb1ca4686a97360f7c37c11980225e5f0908 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 1 Nov 2016 13:39:20 +0300 Subject: [PATCH] Compilation netgen-5.3.1 third-party on CentOS-6.4. --- src/NETGEN/netgen53ForSalome.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/NETGEN/netgen53ForSalome.patch b/src/NETGEN/netgen53ForSalome.patch index 5aac6ff..c6b59bb 100644 --- a/src/NETGEN/netgen53ForSalome.patch +++ b/src/NETGEN/netgen53ForSalome.patch @@ -25,6 +25,15 @@ diff -NaurwB netgen-5.3.1_orig/Makefile.in netgen-5.3.1_new/Makefile.in diff -NaurwB netgen-5.3.1_orig/configure.ac netgen-5.3.1_new/configure.ac --- netgen-5.3.1_orig/configure.ac 2014-10-06 15:00:17.000000000 +0400 +++ netgen-5.3.1_new/configure.ac 2016-09-29 14:34:11.957389447 +0300 +@@ -20,7 +20,7 @@ + CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS" + # LDFLAGS="$LDFLAGS $OPENMP_CXXFLAGS" + +-AM_PROG_AR ++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + AC_PROG_LIBTOOL + LT_INIT + @@ -42,8 +42,8 @@ if test a$occon = atrue ; then @@ -1302,4 +1311,4 @@ diff -NaurwB netgen-5.3.1_orig/nglib/nglib.h netgen-5.3.1_new/nglib/nglib.h + #if defined NGLIB_EXPORTS || defined nglib_EXPORTS #define DLL_HEADER __declspec(dllexport) #else - #define DLL_HEADER __declspec(dllimport) + #define DLL_HEADER __declspec(dllimport) \ No newline at end of file -- 2.39.2