diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-07-19 15:21:13 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-07-19 17:50:06 +0000 |
commit | 93e702acbc369605aa637ca04bab6177db9fe410 (patch) | |
tree | c7345de2612bce184de4f7a7e4966e27d0d86263 /graphics/lux | |
parent | aa1dc60af810d7ccd0f7f5371916ca0b3abd1efa (diff) | |
download | ports-93e702acbc369605aa637ca04bab6177db9fe410.tar.gz ports-93e702acbc369605aa637ca04bab6177db9fe410.zip |
Diffstat (limited to 'graphics/lux')
-rw-r--r-- | graphics/lux/files/patch-vspline_hwy__simd__type.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/lux/files/patch-vspline_hwy__simd__type.h b/graphics/lux/files/patch-vspline_hwy__simd__type.h index a993421bfdc2..40c9ffe81739 100644 --- a/graphics/lux/files/patch-vspline_hwy__simd__type.h +++ b/graphics/lux/files/patch-vspline_hwy__simd__type.h @@ -1,5 +1,15 @@ --- vspline/hwy_simd_type.h.orig 2023-03-30 09:58:06 UTC +++ vspline/hwy_simd_type.h +@@ -104,7 +104,9 @@ + #include <hwy/contrib/math/math-inl.h> + #include <hwy/aligned_allocator.h> + #include <hwy/print-inl.h> ++#ifndef HWY_HAVE_ATAN2 + #include "hwy_atan2.h" ++#endif + + // lux uses it's own dispatching mechanism, but this code should also + // cooperate with highway's multi-platform strategy @@ -694,7 +694,6 @@ PROMOTE(unsigned short,int) PROMOTE(unsigned char,int) PROMOTE(unsigned char,short) |