aboutsummaryrefslogtreecommitdiff
path: root/graphics/dri
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2009-01-24 18:13:01 +0000
committerRobert Noland <rnoland@FreeBSD.org>2009-01-24 18:13:01 +0000
commitafd1cca72a50b63e95d7a8e98c5d126226bab04c (patch)
tree9d8de45415312f05e95af44376df569072047860 /graphics/dri
parentea1d13b9a7567f7dde53e616d2867ea09fb0249e (diff)
Notes
Diffstat (limited to 'graphics/dri')
-rw-r--r--graphics/dri/distinfo6
-rw-r--r--graphics/dri/files/patch-glheader.h22
-rw-r--r--graphics/dri/files/patch-mach64_context.h38
-rw-r--r--graphics/dri/pkg-plist1
4 files changed, 17 insertions, 50 deletions
diff --git a/graphics/dri/distinfo b/graphics/dri/distinfo
index da68c3af0e8a..266bbdbb0ec2 100644
--- a/graphics/dri/distinfo
+++ b/graphics/dri/distinfo
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.2.tar.bz2) = 04d379292e023df0b0266825cb0dbde5
-SHA256 (MesaLib-7.2.tar.bz2) = a9cc62ab760afeebcb1319a193508734a2d470cab8effab2776a2d3c65bd9cd2
-SIZE (MesaLib-7.2.tar.bz2) = 3341919
+MD5 (MesaLib-7.3.tar.bz2) = 781e7811a6ed5c97b2b8defefc8ffbc9
+SHA256 (MesaLib-7.3.tar.bz2) = 64e6e2ea556c44af7eaeea083a514a23e4f896b7856da4f006125ffc30c4379b
+SIZE (MesaLib-7.3.tar.bz2) = 3368281
diff --git a/graphics/dri/files/patch-glheader.h b/graphics/dri/files/patch-glheader.h
deleted file mode 100644
index 517e46012c02..000000000000
--- a/graphics/dri/files/patch-glheader.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/mesa/main/glheader.h.orig Thu Apr 13 01:52:32 2006
-+++ src/mesa/main/glheader.h Wed Dec 20 15:27:53 2006
-@@ -127,12 +127,15 @@
- * For now, only used by some DRI hardware drivers for color/texel packing.
- */
- #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && BYTE_ORDER == BIG_ENDIAN
--#if defined(__linux__)
-+#if defined(__FreeBSD__)
-+#include <sys/endian.h>
-+#define CPU_TO_LE32( x ) bswap32( x )
-+#elif defined(__linux__)
- #include <byteswap.h>
- #define CPU_TO_LE32( x ) bswap_32( x )
--#else /*__linux__*/
--#define CPU_TO_LE32( x ) ( x ) /* fix me for non-Linux big-endian! */
--#endif /*__linux__*/
-+#else
-+#error "Add CPU_TO_LE32 macro for this OS."
-+#endif
- #define MESA_BIG_ENDIAN 1
- #else
- #define CPU_TO_LE32( x ) ( x )
diff --git a/graphics/dri/files/patch-mach64_context.h b/graphics/dri/files/patch-mach64_context.h
index bc17aea756ac..90fe99b3f1c7 100644
--- a/graphics/dri/files/patch-mach64_context.h
+++ b/graphics/dri/files/patch-mach64_context.h
@@ -1,6 +1,6 @@
---- src/mesa/drivers/dri/mach64/mach64_context.h.orig Mon Nov 28 13:17:16 2005
-+++ src/mesa/drivers/dri/mach64/mach64_context.h Wed Dec 20 15:37:34 2006
-@@ -331,25 +331,28 @@
+--- src/mesa/drivers/dri/mach64/mach64_context.h.orig 2009-01-21 10:55:48.000000000 -0500
++++ src/mesa/drivers/dri/mach64/mach64_context.h 2009-01-22 13:48:00.000000000 -0500
+@@ -288,17 +288,20 @@
/* ================================================================
* Byte ordering
*/
@@ -11,27 +11,17 @@
#define LE32_OUT( x, y ) do { *(GLuint *)(x) = (y); } while (0)
#define LE32_OUT_FLOAT( x, y ) do { *(GLfloat *)(x) = (y); } while (0)
#else
+-#ifndef __OpenBSD__
-#include <byteswap.h>
--#define LE32_IN( x ) bswap_32( *(GLuint *)(x) )
-+#define LE32_IN( x ) CPU_TO_LE32( *(GLuint *)(x) )
- #define LE32_IN_FLOAT( x ) \
- ({ \
-- GLuint __tmp = bswap_32( *(GLuint *)(x) ); \
-+ GLuint __tmp = CPU_TO_LE32( *(GLuint *)(x) ); \
- *(GLfloat *)&__tmp; \
- })
--#define LE32_OUT( x, y ) do { *(GLuint *)(x) = bswap_32( y ); } while (0)
-+#define LE32_OUT( x, y ) do { *(GLuint *)(x) = CPU_TO_LE32( y ); } while (0)
-+#define LE32_OUT( x, y ) \
-+do { \
-+ *(GLuint *)(x) = CPU_TO_LE32( y ); \
-+} while (0)
- #define LE32_OUT_FLOAT( x, y ) \
- do { \
- GLuint __tmp; \
- *(GLfloat *)&__tmp = (y); \
-- *(GLuint *)(x) = bswap_32( __tmp ); \
-+ *(GLuint *)(x) = CPU_TO_LE32( __tmp ); \
- } while (0)
+-#else
++#if defined(__OpenBSD__)
+ #include <machine/endian.h>
+ #define bswap_32 bswap32
++#elif defined(__FreeBSD__)
++#include <sys/endian.h>
++#define bswap_32 bswap32
++#else
++#include <byteswap.h>
#endif
+ #define LE32_IN( x ) bswap_32( *(GLuint *)(x) )
diff --git a/graphics/dri/pkg-plist b/graphics/dri/pkg-plist
index 5da5f31f5dad..7098c35c5c05 100644
--- a/graphics/dri/pkg-plist
+++ b/graphics/dri/pkg-plist
@@ -1,5 +1,4 @@
include/GL/internal/dri_interface.h
-include/GL/internal/dri_sarea.h
lib/dri/i810_dri.so
lib/dri/i915_dri.so
lib/dri/i965_dri.so