summaryrefslogtreecommitdiff
path: root/graphics/RenderKit
diff options
context:
space:
mode:
authorrh <rh>2003-04-01 09:24:54 +0000
committerrh <rh>2003-04-01 09:24:54 +0000
commitfc7788a3c361d137cb19d0e93dd789ea5c30fdec (patch)
tree8b5e1d5ca3fdfe4516a7899b1adfe01ca9bab039 /graphics/RenderKit
parentf15ad9d3972b906079a880618ff28b8cebb5e421 (diff)
downloadpkgsrc-fc7788a3c361d137cb19d0e93dd789ea5c30fdec.tar.gz
Make this compile with Mesa 5.0
Diffstat (limited to 'graphics/RenderKit')
-rw-r--r--graphics/RenderKit/Makefile4
-rw-r--r--graphics/RenderKit/patches/patch-aa14
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/RenderKit/Makefile b/graphics/RenderKit/Makefile
index 67ab8c5d3f3..3410af1328e 100644
--- a/graphics/RenderKit/Makefile
+++ b/graphics/RenderKit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/29 06:14:50 rh Exp $
+# $NetBSD: Makefile,v 1.2 2003/04/01 09:24:54 rh Exp $
#
.include "../../graphics/3DKit/Makefile.common"
@@ -8,6 +8,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/3DKit/RenderKit
COMMENT= Objective-C API for core scene rendering
+DISTINFO_FILE= ${.CURDIR}/distinfo
+
.include "../../graphics/GeometryKit/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
diff --git a/graphics/RenderKit/patches/patch-aa b/graphics/RenderKit/patches/patch-aa
new file mode 100644
index 00000000000..6d079a54387
--- /dev/null
+++ b/graphics/RenderKit/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2003/04/01 09:24:54 rh Exp $
+
+--- RenderKit/G3DRenderEngine.h.orig 2001-07-08 01:35:47.000000000 +1000
++++ RenderKit/G3DRenderEngine.h
+@@ -27,7 +27,9 @@
+ #import <RenderKit/G3DTypes.h>
+
+ #ifdef GNUSTEP
++#define id gl_id
+ #include <GL/gl.h>
++#undef id
+ #else
+ #include <OpenGL/gl.h>
+ #endif