summaryrefslogtreecommitdiff
path: root/graphics/SDLKit
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-01 10:00:20 +0000
committerrh <rh@pkgsrc.org>2003-04-01 10:00:20 +0000
commit22445160e8ef6b235df0fdb7dfcefc04fdfe0071 (patch)
tree3d4303d39a451dbacccd672a5a5de4994adf8171 /graphics/SDLKit
parenta0a36d3bd2053bbb7c8bcf30c773eb2ababde6a0 (diff)
downloadpkgsrc-22445160e8ef6b235df0fdb7dfcefc04fdfe0071.tar.gz
Make this compile with Mesa 5.0
Diffstat (limited to 'graphics/SDLKit')
-rw-r--r--graphics/SDLKit/Makefile4
-rw-r--r--graphics/SDLKit/distinfo5
-rw-r--r--graphics/SDLKit/patches/patch-aa14
3 files changed, 22 insertions, 1 deletions
diff --git a/graphics/SDLKit/Makefile b/graphics/SDLKit/Makefile
index 1d999731663..c7a16b992cc 100644
--- a/graphics/SDLKit/Makefile
+++ b/graphics/SDLKit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/29 06:16:52 rh Exp $
+# $NetBSD: Makefile,v 1.2 2003/04/01 10:00:20 rh Exp $
#
.include "../../graphics/3DKit/Makefile.common"
@@ -8,6 +8,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/SDLKit
COMMENT= 3DKit SDL backend
+DISTINFO_FILE= ${.CURDIR}/distinfo
+
.include "../../devel/SDL/buildlink2.mk"
.include "../../graphics/RenderKit/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
diff --git a/graphics/SDLKit/distinfo b/graphics/SDLKit/distinfo
new file mode 100644
index 00000000000..4fd0cf1ab04
--- /dev/null
+++ b/graphics/SDLKit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2003/04/01 10:00:20 rh Exp $
+
+SHA1 (3DKit/3DKit-0.3.1r2.tar.gz) = 780e7dc975cb2ac0b96f8f605aa6ad0b3af596b9
+Size (3DKit/3DKit-0.3.1r2.tar.gz) = 216093 bytes
+SHA1 (patch-aa) = f60cf7bb977f5471bdf54399928aa2086c064b05
diff --git a/graphics/SDLKit/patches/patch-aa b/graphics/SDLKit/patches/patch-aa
new file mode 100644
index 00000000000..dd820a5e53f
--- /dev/null
+++ b/graphics/SDLKit/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2003/04/01 10:00:21 rh Exp $
+
+--- G3DSDLCamera.h.orig 2001-07-15 23:56:15.000000000 +1000
++++ G3DSDLCamera.h
+@@ -26,7 +26,9 @@
+ #import <RenderKit/G3DCamera.h>
+
+ #ifdef GNUSTEP
++#define id gl_id
+ #include <GL/gl.h>
++#undef id
+ #else
+ #include <OpenGL/gl.h>
+ #endif