diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-05-03 19:03:59 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-05-03 19:03:59 +0000 |
commit | 307ea24aabad42cc2e2c8768dea389399363abc1 (patch) | |
tree | 68e131aea1518fa7996973bcf1d6f0863687af8d /graphics | |
parent | 9352d565706c5e16d7caf2b6cbfdbd1bf979e7c5 (diff) | |
download | pkgsrc-307ea24aabad42cc2e2c8768dea389399363abc1.tar.gz |
Fix build under OpenBSD/amd64 5.5
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 | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo index 0fce15157fa..4f43f4e35ae 100644 --- a/graphics/MesaLib/distinfo +++ b/graphics/MesaLib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.86 2014/02/04 10:51:30 obache Exp $ +$NetBSD: distinfo,v 1.87 2014/05/03 19:03:59 ryoon 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 @@ -11,7 +11,7 @@ SHA1 (patch-bin_mklib) = 8c54bf5382541cab9d971b0e0e627035db1af468 SHA1 (patch-configure.ac) = 0e3f9a1f21ba3a50161312683e9a0ad36f9f3e61 SHA1 (patch-include_GL_gl.h) = a97ab309556c78d818d0b8bd867b5f2412c141b0 SHA1 (patch-src_gallium_auxiliary_util_u__atomic.h) = 68ba9694aca506add2aa96a6892a7227481c2c11 -SHA1 (patch-src_gallium_include_pipe_p__config.h) = 4e1d651d3cc4fbbffcfdab6cf7d293cef51db5c9 +SHA1 (patch-src_gallium_include_pipe_p__config.h) = 34f4c2a033dd7a494dd3f51db407002a3388f84e SHA1 (patch-src_glsl_ir__constant__expression.cpp) = 281e281f51afed244b1a29b92942d572fc095124 SHA1 (patch-src_glsl_ralloc.c) = 94fac7a8115d85bc3ee3daeb8ea308c766dc45c1 SHA1 (patch-src_glu_sgi_glu.exports) = 66609d2ea59b02fc46b41311b0042fe4a2da517f 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 819b5114203..2c952f4999f 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,4 +1,4 @@ -$NetBSD: patch-src_gallium_include_pipe_p__config.h,v 1.3 2014/02/04 10:51:30 obache Exp $ +$NetBSD: patch-src_gallium_include_pipe_p__config.h,v 1.4 2014/05/03 19:03:59 ryoon Exp $ Adjust Endianness for PowerPC, NetBSD, OpenBSD or SunOS. @@ -13,12 +13,16 @@ Adjust Endianness for PowerPC, NetBSD, OpenBSD or SunOS. #define PIPE_ARCH_PPC #if defined(__ppc64__) || defined(__PPC64__) #define PIPE_ARCH_PPC_64 -@@ -129,6 +129,24 @@ +@@ -129,6 +129,28 @@ # define PIPE_ARCH_BIG_ENDIAN #endif +#elif defined(__NetBSD__) || defined(__OpenBSD__) ++#if defined(__NetBSD__) +#include <sys/endian.h> ++#else /* OpenBSD */ ++#include <machine/endian.h> ++#endif + +#if _BYTE_ORDER == _LITTLE_ENDIAN +# define PIPE_ARCH_LITTLE_ENDIAN |