Mon Jun 10 12:29:54 2013 UTC ()
PR pkg/47913, fix build problem on powerpc
(example was NetBSD/macppc 6.1) as:
#error Unknown Endianness


(mef)
diff -r1.77 -r1.78 pkgsrc/graphics/MesaLib/distinfo
diff -r1.1 -r1.2 pkgsrc/graphics/MesaLib/patches/patch-src_gallium_include_pipe_p__config.h

cvs diff -r1.77 -r1.78 pkgsrc/graphics/MesaLib/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/MesaLib/distinfo 2013/05/20 06:59:18 1.77
+++ pkgsrc/graphics/MesaLib/distinfo 2013/06/10 12:29:54 1.78
@@ -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 @@
 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

cvs diff -r1.1 -r1.2 pkgsrc/graphics/MesaLib/patches/Attic/patch-src_gallium_include_pipe_p__config.h (expand / switch to context diff)
--- pkgsrc/graphics/MesaLib/patches/Attic/patch-src_gallium_include_pipe_p__config.h 2013/05/16 05:22:02 1.1
+++ pkgsrc/graphics/MesaLib/patches/Attic/patch-src_gallium_include_pipe_p__config.h 2013/06/10 12:29:54 1.2
@@ -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