diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-11-29 11:35:12 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-11-29 11:35:12 +0000 |
commit | 8547737a73fad4e4649ca07895c743602e6f731a (patch) | |
tree | 5f53c1bf321e27725fdfaefd2066b60eefb1131a /misc/openmvg | |
parent | d6fce2bfd6e19a48689ca8a9c945ac89d0e727e0 (diff) | |
download | ports-8547737a73fad4e4649ca07895c743602e6f731a.tar.gz ports-8547737a73fad4e4649ca07895c743602e6f731a.zip |
misc/openmvg: fix build on non-x86
Tested on powerpc64, may still have issues on other architectures.
Diffstat (limited to 'misc/openmvg')
-rw-r--r-- | misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp b/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp new file mode 100644 index 000000000000..d5b98e1586ad --- /dev/null +++ b/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp @@ -0,0 +1,12 @@ +--- openMVG/matching/metric_simd.hpp.orig 2021-11-29 11:14:30 UTC ++++ openMVG/matching/metric_simd.hpp +@@ -17,7 +17,9 @@ + #include <numeric> + + #include <cstdint> ++#if defined(__amd64__) || defined(__i386__) + #include <immintrin.h> ++#endif + + namespace openMVG { + namespace matching { |