aboutsummaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx')
-rw-r--r--math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx b/math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx
new file mode 100644
index 000000000000..cf0e7b96b657
--- /dev/null
+++ b/math/scilab/files/patch-modules_core_src_cpp_hash_hash.hxx
@@ -0,0 +1,11 @@
+--- modules/core/src/cpp/hash/hash.hxx.orig 2021-07-15 11:55:00 UTC
++++ modules/core/src/cpp/hash/hash.hxx
+@@ -7,7 +7,7 @@
+ #pragma once
+
+ #ifndef _MSC_VER
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ #include <machine/endian.h>
+ #else
+ #include <endian.h>