aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-09-14 11:25:47 +0000
committerMikael Urankar <mikael@FreeBSD.org>2021-09-14 17:56:04 +0000
commit781f933e83cd2f3ed75136245c7b373e64744ee6 (patch)
treedcfdf27ec1548bc4ce013af6540dc030ac29f07a
parentdf5f3c35b141f46916617807b0c4cf26640be1c1 (diff)
downloadports-781f933e83cd2f3ed75136245c7b373e64744ee6.tar.gz
ports-781f933e83cd2f3ed75136245c7b373e64744ee6.zip
audio/sfizz: Fix build on aarch64
Approved by: portmgr (build fix blanket)
-rw-r--r--audio/sfizz/files/patch-src_external_cpuid_src_cpuid_detail_init__linux__gcc__arm.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/sfizz/files/patch-src_external_cpuid_src_cpuid_detail_init__linux__gcc__arm.hpp b/audio/sfizz/files/patch-src_external_cpuid_src_cpuid_detail_init__linux__gcc__arm.hpp
new file mode 100644
index 000000000000..168957c7d30c
--- /dev/null
+++ b/audio/sfizz/files/patch-src_external_cpuid_src_cpuid_detail_init__linux__gcc__arm.hpp
@@ -0,0 +1,12 @@
+--- src/external/cpuid/src/cpuid/detail/init_linux_gcc_arm.hpp.orig 2021-09-13 17:35:44 UTC
++++ src/external/cpuid/src/cpuid/detail/init_linux_gcc_arm.hpp
+@@ -11,7 +11,9 @@
+
+ #include <elf.h>
+ #include <fcntl.h>
++#if defined(__linux__)
+ #include <linux/auxvec.h>
++#endif
+ #include <unistd.h>
+
+ #include "cpuinfo_impl.hpp"