From 905958dd6f1eaacd3f42637ff78da7008a83aea1 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Mon, 14 Oct 2024 14:37:46 +0200 Subject: 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 --- graphics/lux/files/patch-pv__rendering__common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/lux/files/patch-pv__rendering__common.h (limited to 'graphics/lux/files/patch-pv__rendering__common.h') 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 + -- cgit v1.2.3