mirror of https://git.FreeBSD.org/ports.git
games/Bugdom2: fix build on powerpc*
/wrkdirs/usr/ports/games/Bugdom2/work/Bugdom2-4.0.0/Source/3D/3DMath.c:1541:5: error: assigning to '__vector float' (vector of 4 'float' values) from incompatible type 'int' C3 = vec_madd( vec_splat( A3, 2 ), B3, C3 ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
abf68fe4a2
commit
0bb7044e0e
|
@ -0,0 +1,12 @@
|
|||
--- Source/3D/3DMath.c.orig 2024-04-18 14:30:18 UTC
|
||||
+++ Source/3D/3DMath.c
|
||||
@@ -12,6 +12,9 @@
|
||||
|
||||
#include "game.h"
|
||||
|
||||
+#if defined(__VEC__)
|
||||
+#include <altivec.h>
|
||||
+#endif
|
||||
|
||||
/****************************/
|
||||
/* PROTOTYPES */
|
Loading…
Reference in New Issue