diff options
author | gahr <gahr@FreeBSD.org> | 2012-03-07 16:06:23 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-03-07 16:06:23 +0800 |
commit | 339c37131a2966c1b042d24a0e5a3afa1ac11327 (patch) | |
tree | 72ae4004035bcfea44a959d6396e51bbfbef61c6 /graphics | |
parent | b9c997f1426f18061f4b03c961bc5a6fe219dbb8 (diff) | |
download | freebsd-ports-graphics-339c37131a2966c1b042d24a0e5a3afa1ac11327.tar.gz freebsd-ports-graphics-339c37131a2966c1b042d24a0e5a3afa1ac11327.tar.zst freebsd-ports-graphics-339c37131a2966c1b042d24a0e5a3afa1ac11327.zip |
- restore a patch to fix build on ia64
Reported by: Anton Shterenlikht <mexas@bristol.ac.uk>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libosmesa/files/patch-src-gallium-include-pipe_p_config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/libosmesa/files/patch-src-gallium-include-pipe_p_config.h b/graphics/libosmesa/files/patch-src-gallium-include-pipe_p_config.h new file mode 100644 index 00000000000..ddc9198d7af --- /dev/null +++ b/graphics/libosmesa/files/patch-src-gallium-include-pipe_p_config.h @@ -0,0 +1,18 @@ +--- src/gallium/include/pipe/p_config.h.orig 2012-03-06 13:42:46.000000000 +0100 ++++ src/gallium/include/pipe/p_config.h 2012-03-06 13:43:21.000000000 +0100 +@@ -120,12 +120,12 @@ + # define PIPE_ARCH_BIG_ENDIAN + #endif + +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__FreeBSD__) + #include <machine/endian.h> + +-#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN ++#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN || _BYTE_ORDER == _LITTLE_ENDIAN + # define PIPE_ARCH_LITTLE_ENDIAN +-#elif __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN ++#elif __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN || _BYTE_ORDER == _BIG_ENDIAN + # define PIPE_ARCH_BIG_ENDIAN + #endif + |