From c068c3bec78b91691a695cf712c17047c830e31c Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 1 Mar 2007 15:30:29 +0000 Subject: [PATCH] Adding compilation key -D_OCC64 --- config_files/patches/netgen-4.5-lib64.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config_files/patches/netgen-4.5-lib64.patch b/config_files/patches/netgen-4.5-lib64.patch index 1593971..211d3dc 100755 --- a/config_files/patches/netgen-4.5-lib64.patch +++ b/config_files/patches/netgen-4.5-lib64.patch @@ -6,7 +6,7 @@ diff -ur netgen-4.5.old/libsrc/makefile.inc netgen-4.5.new/libsrc/makefile.inc include $(LIBSRC_DIR)/makefile.mach.$(MACHINE) # -CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ -+CPLUSPLUSFLAGS1 = -c -m64 -fPIC -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ ++CPLUSPLUSFLAGS1 = -c -m64 -D_OCC64 -fPIC -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ -DOCCGEOMETRY -DOCC52 -DHAVE_IOSTREAM -DHAVE_LIMITS_H # ARFLAGS = r @@ -39,7 +39,7 @@ diff -ur netgen-4.5.old/Makefile netgen-4.5.new/Makefile #CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -DOPENGL -CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -DOPENGL -I$(METISINC) -+CPLUSPLUSFLAGS1 = -c -m64 -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -I$(METISINC) ++CPLUSPLUSFLAGS1 = -c -m64 -D_OCC64 -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -I$(METISINC) LINKFLAGS1 = -lGL -lGLU -lX11 -lXext -lXmu # -- 2.39.2