Gabriel Ebner
0c8010b089
subrepo: subdir: "calculix" merged: "09c74d4" upstream: origin: "https://aur.archlinux.org/calculix" branch: "master" commit: "09c74d4" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
35 lines
1.3 KiB
Diff
Executable File
35 lines
1.3 KiB
Diff
Executable File
diff -ur CalculiX_orig/cgx_2.17/src/Makefile CalculiX/cgx_2.16/src/Makefile
|
|
--- CalculiX_orig/cgx_2.17/src/Makefile
|
|
+++ CalculiX/cgx_2.17/src/Makefile
|
|
@@ -59,1 +53,1 @@
|
|
- ../../libSNL/src/*.cpp
|
|
+# ../../libSNL/src/*.cpp
|
|
diff -ur CalculiX_orig/cgx_2.17/src/cgx.h CalculiX/cgx_2.17/src/cgx.h
|
|
--- CalculiX_orig/cgx_2.17/src/cgx.h
|
|
+++ CalculiX/cgx_2.17/src/cgx.h
|
|
@@ -85,12 +85,12 @@
|
|
#elif defined AFLIB
|
|
- #define HELPFILE {"/usr/local/CalculiX/cgx_2.17/doc/cgx/cgx.html",\
|
|
- "/usr/local/CalculiX/ccx_2.17/doc/ccx/ccx.html",\
|
|
- "/usr/local/CalculiX/cgx_2.16/doc/aflib/aflib.pdf"}
|
|
+ #define HELPFILE {"/usr/share/doc/cgx/cgx.html",\
|
|
+ "/usr/share/doc/doc/ccx/ccx.html",\
|
|
+ "/usr/share/doc/doc/aflib/aflib.pdf"}
|
|
/* default tet mesher, 0:Netgen ng_vol, 1:tetgen */
|
|
#define TETMESHER 1
|
|
#else
|
|
- #define HELPFILE {"/usr/local/CalculiX/cgx_2.17/doc/cgx/cgx.html",\
|
|
- "/usr/local/CalculiX/ccx_2.17/doc/ccx/ccx.html"}
|
|
+ #define HELPFILE {"/usr/share/doc/cgx/cgx.html",\
|
|
+ "/usr/share/doc/ccx/ccx.html"}
|
|
/* default tet mesher, 0:Netgen ng_vol, 1:tetgen */
|
|
#define TETMESHER 1
|
|
#endif
|
|
diff -ur CalculiX_orig/cgx_2.17/src/uselibSNL.h CalculiX/cgx_2.17/src/uselibSNL.h
|
|
--- CalculiX_orig/cgx_2.17/src/uselibSNL.h
|
|
+++ CalculiX/cgx_2.17/src/uselibSNL.h
|
|
@@ -8,1 +8,3 @@
|
|
#include <cgx.h>
|
|
+#undef max
|
|
+#undef min
|