summaryrefslogtreecommitdiff
path: root/graphics/GlutKit
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-01 09:36:11 +0000
committerrh <rh@pkgsrc.org>2003-04-01 09:36:11 +0000
commita0a36d3bd2053bbb7c8bcf30c773eb2ababde6a0 (patch)
tree8d57c7c1d37abec31bd53d5654ffd287bc716bb3 /graphics/GlutKit
parentcda544afc332d3dede35c5ea035bf53b1a33c2a8 (diff)
downloadpkgsrc-a0a36d3bd2053bbb7c8bcf30c773eb2ababde6a0.tar.gz
Make this compile with Mesa 5.0
Diffstat (limited to 'graphics/GlutKit')
-rw-r--r--graphics/GlutKit/Makefile4
-rw-r--r--graphics/GlutKit/distinfo5
-rw-r--r--graphics/GlutKit/patches/patch-aa15
3 files changed, 23 insertions, 1 deletions
diff --git a/graphics/GlutKit/Makefile b/graphics/GlutKit/Makefile
index bbccdd243ce..f1aba522aae 100644
--- a/graphics/GlutKit/Makefile
+++ b/graphics/GlutKit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/29 06:16:06 rh Exp $
+# $NetBSD: Makefile,v 1.2 2003/04/01 09:36:11 rh Exp $
#
.include "../../graphics/3DKit/Makefile.common"
@@ -8,6 +8,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GlutKit
COMMENT= 3DKit GLUT backend
+DISTINFO_FILE= ${.CURDIR}/distinfo
+
.include "../../graphics/RenderKit/buildlink2.mk"
.include "../../graphics/glut/buildlink2.mk"
.include "../../graphics/glu/buildlink2.mk"
diff --git a/graphics/GlutKit/distinfo b/graphics/GlutKit/distinfo
new file mode 100644
index 00000000000..5f843298b3d
--- /dev/null
+++ b/graphics/GlutKit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2003/04/01 09:36:11 rh Exp $
+
+SHA1 (3DKit/3DKit-0.3.1r2.tar.gz) = 780e7dc975cb2ac0b96f8f605aa6ad0b3af596b9
+Size (3DKit/3DKit-0.3.1r2.tar.gz) = 216093 bytes
+SHA1 (patch-aa) = a12e85937d5b5eb23111749985cdf4099b9d26b4
diff --git a/graphics/GlutKit/patches/patch-aa b/graphics/GlutKit/patches/patch-aa
new file mode 100644
index 00000000000..d5c7d3e1dde
--- /dev/null
+++ b/graphics/GlutKit/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2003/04/01 09:36:12 rh Exp $
+
+--- G3DGlutCamera.h.orig 2001-07-16 00:29:13.000000000 +1000
++++ G3DGlutCamera.h
+@@ -24,8 +24,10 @@
+ #import <RenderKit/G3DTypes.h>
+
+ #ifdef GNUSTEP
++#define id gl_id
+ #include <GL/gl.h>
+ #include <GL/glut.h>
++#undef id
+ #else
+ #include <OpenGL/gl.h>
+ #include <GLUT/glut.h>