graphics/blender: fix build on powerpc64

Macros for ppc64 are needed.

PR:		240864
Approved by:	FreeBSD@ShaneWare.Biz (maintainer), linimon (mentor)
This commit is contained in:
Piotr Kubaj 2019-10-01 14:07:54 +00:00
parent 695c318917
commit 3ea8313bf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513483

View File

@ -0,0 +1,14 @@
--- intern/numaapi/source/build_config.h.orig 2019-09-27 08:55:36 UTC
+++ intern/numaapi/source/build_config.h
@@ -307,6 +307,11 @@
# define ARCH_CPU_32_BITS 1
# define ARCH_CPU_BIG_ENDIAN 1
# endif
+#elif defined(__powerpc64__)
+# define ARCH_CPU_PPC_FAMILY 1
+# define ARCH_CPU_PPC 1
+# define ARCH_CPU_64_BITS 1
+# define ARCH_CPU_BIG_ENDIAN 1
#else
# error Please add support for your architecture in build_config.h
#endif