diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-12 03:47:59 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-12 03:49:25 +0000 |
| commit | 90a03c7690305551d75f50e847c35413ef5fcbcc (patch) | |
| tree | f2af674d3a13559381cbfb0ab63e8a8ae9afe68c /math | |
| parent | 80d3ebc8a7bd0b4f17f20286b97ffe33857c30a0 (diff) | |
Diffstat (limited to 'math')
| -rw-r--r-- | math/gismo/files/patch-src_gsCore_gsSysInfo.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp b/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp new file mode 100644 index 000000000000..1571078b3141 --- /dev/null +++ b/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp @@ -0,0 +1,15 @@ +- workaround for the compilation failure on non-amd64 architectures +- due to the use of missing value HOST_NAME_MAX only on these architectures + +--- src/gsCore/gsSysInfo.cpp.orig 2024-01-12 03:28:55 UTC ++++ src/gsCore/gsSysInfo.cpp +@@ -30,6 +30,9 @@ + # endif + #endif + ++#include <sys/param.h> ++#define HOST_NAME_MAX MAXHOSTNAMELEN ++ + namespace gismo + { + |
