diff options
author | mef <mef> | 2013-06-10 12:29:54 +0000 |
---|---|---|
committer | mef <mef> | 2013-06-10 12:29:54 +0000 |
commit | a2b2e43079e6ad330ba3b02c09c14d69200633b5 (patch) | |
tree | 02250e16ce82798ed828b1d5dee0f049c5beb0e9 /graphics | |
parent | e322cf4cda9b89786b5a618763f7b4b4992401af (diff) | |
download | pkgsrc-a2b2e43079e6ad330ba3b02c09c14d69200633b5.tar.gz |
PR pkg/47913, fix build problem on powerpc
(example was NetBSD/macppc 6.1) as:
#error Unknown Endianness
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/distinfo | 4 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h | 17 |
2 files changed, 16 insertions, 5 deletions
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo index 4239e53ba21..16d0af5d4cb 100644 --- a/graphics/MesaLib/distinfo +++ b/graphics/MesaLib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.77 2013/05/20 06:59:18 sbd Exp $ +$NetBSD: distinfo,v 1.78 2013/06/10 12:29:54 mef Exp $ SHA1 (Mesa-7.11.2/MesaGLUT-7.11.2.tar.bz2) = 2e6e730204800a0748b301a5f58b86332699788b RMD160 (Mesa-7.11.2/MesaGLUT-7.11.2.tar.bz2) = bb2b140375aa13df79fcdb60a7ad0a63622dc531 @@ -9,7 +9,7 @@ Size (Mesa-7.11.2/MesaLib-7.11.2.tar.bz2) = 6257280 bytes SHA1 (patch-af) = da0bd412b81d4b826b6d9b4bb8d98ca1fe0006ba SHA1 (patch-bin_mklib) = 152b61d40d2e24cf3674d346e94fcab04b850909 SHA1 (patch-configure.ac) = 0e3f9a1f21ba3a50161312683e9a0ad36f9f3e61 -SHA1 (patch-src_gallium_include_pipe_p__config.h) = 5ddb2d95c7e951ad88bd14fd8b257b1f1dfac34f +SHA1 (patch-src_gallium_include_pipe_p__config.h) = 934e2505fe299e1a25da6def2f971fa1302840c0 SHA1 (patch-src_glsl_ir__constant__expression.cpp) = 281e281f51afed244b1a29b92942d572fc095124 SHA1 (patch-src_glu_sgi_glu.exports) = 66609d2ea59b02fc46b41311b0042fe4a2da517f SHA1 (patch-src_mesa_drivers_dri_common_dri__util.h) = 53e63dcc6243b1872f4e4816b46e92910cf97edc diff --git a/graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h b/graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h index fc7068fd40b..846447a8f2e 100644 --- a/graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h +++ b/graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h @@ -1,7 +1,18 @@ -$NetBSD: patch-src_gallium_include_pipe_p__config.h,v 1.1 2013/05/16 05:22:02 richard Exp $ +$NetBSD: patch-src_gallium_include_pipe_p__config.h,v 1.2 2013/06/10 12:29:54 mef Exp $ ---- src/gallium/include/pipe/p_config.h.orig 2011-10-15 00:43:58.000000000 +0000 -+++ src/gallium/include/pipe/p_config.h +Adjust Endianness for PowerPC or SunOS. + +--- Mesa-7.11.2/src/gallium/include/pipe/p_config.h.orig 2011-10-15 09:43:58.000000000 +0900 ++++ src/gallium/include/pipe/p_config.h 2013-06-10 15:35:08.000000000 +0900 +@@ -99,7 +99,7 @@ + #endif + #endif + +-#if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__) ++#if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__) || defined(__powerpc__) + #define PIPE_ARCH_PPC + #if defined(__ppc64__) || defined(__PPC64__) + #define PIPE_ARCH_PPC_64 @@ -129,6 +129,15 @@ # define PIPE_ARCH_BIG_ENDIAN #endif |