1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

graphics/libGL: unbreak build on sparc64

Approved by:	x11 (kwm)
MFH:		2015Q4
Differential Revision:	https://reviews.freebsd.org/D4311
This commit is contained in:
Michael Moll 2015-11-29 16:34:04 +00:00
parent 2a00ee1eb6
commit 1b60e3f502
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402605

View File

@ -1,4 +1,4 @@
--- src/gallium/include/pipe/p_config.h.orig 2014-08-14 17:22:24 UTC
--- src/gallium/include/pipe/p_config.h.orig 2015-11-29 13:40:59 UTC
+++ src/gallium/include/pipe/p_config.h
@@ -81,6 +81,13 @@
#define PIPE_CC_SUNPRO
@ -14,6 +14,15 @@
/*
* Processor architecture
@@ -171,7 +178,7 @@
#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) || defined(PIPE_ARCH_ARM) || defined(PIPE_ARCH_AARCH64)
#define PIPE_ARCH_LITTLE_ENDIAN
-#elif defined(PIPE_ARCH_PPC) || defined(PIPE_ARCH_PPC_64) || defined(PIPE_ARCH_S390)
+#elif defined(PIPE_ARCH_PPC) || defined(PIPE_ARCH_PPC_64) || defined(PIPE_ARCH_S390) || defined(PIPE_ARCH_SPARC) || defined(PIPE_ARCH_SPARC_64)
#define PIPE_ARCH_BIG_ENDIAN
#endif
@@ -200,6 +207,12 @@
#define PIPE_OS_ANDROID
#endif