summaryrefslogtreecommitdiff
path: root/graphics/lux/files/patch-pv__rendering__common.h
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-10-14 14:37:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-10-21 11:36:00 +0200
commit905958dd6f1eaacd3f42637ff78da7008a83aea1 (patch)
tree6a47038f0c8213eae37d90da2365f3a16b333eb6 /graphics/lux/files/patch-pv__rendering__common.h
parenteditors/ad: update to 0.1.3 (diff)
graphics/lux: fix build on i386
Use int over unsigned int for fc_t to avoid a type narrowing error. Regenerate patches while we are at it. MFH: 2024Q4
Diffstat (limited to 'graphics/lux/files/patch-pv__rendering__common.h')
-rw-r--r--graphics/lux/files/patch-pv__rendering__common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/lux/files/patch-pv__rendering__common.h b/graphics/lux/files/patch-pv__rendering__common.h
new file mode 100644
index 000000000000..f3c7e12dca52
--- /dev/null
+++ b/graphics/lux/files/patch-pv__rendering__common.h
@@ -0,0 +1,11 @@
+--- pv_rendering_common.h.orig 2024-10-14 12:36:31 UTC
++++ pv_rendering_common.h
+@@ -194,7 +194,7 @@ static const int max_degree = 7 ; // vspline_constants
+
+ // typedef unsigned short fc_t ;
+
+-typedef unsigned int fc_t ;
++typedef int fc_t ;
+
+ #ifdef VECTORIZE
+