diff options
author | wiz <wiz> | 2001-01-09 23:20:51 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-09 23:20:51 +0000 |
commit | e96ca982d69a9e67c3f63ac8f0f8499afbb85605 (patch) | |
tree | 8a17b775ef230a2a4d1a0ed83a0a74638ffa9d99 | |
parent | 96b150ee03bd24a90116cc934f5f6c9f012314eb (diff) | |
download | pkgsrc-e96ca982d69a9e67c3f63ac8f0f8499afbb85605.tar.gz |
Correct fix, based on a suggestion by Brian Paul.
-rw-r--r-- | graphics/ruby-gl/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/ruby-gl/patches/patch-ab | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/ruby-gl/files/patch-sum b/graphics/ruby-gl/files/patch-sum index 281a2d16e9f..94943230293 100644 --- a/graphics/ruby-gl/files/patch-sum +++ b/graphics/ruby-gl/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.3 2001/01/03 16:48:06 wiz Exp $ +$NetBSD: patch-sum,v 1.4 2001/01/09 23:20:51 wiz Exp $ MD5 (patch-aa) = cdb9d37d6e55231f8f6adf4e78d3d429 -MD5 (patch-ab) = c004b6582e8e109c7dbc5bad79dc5f8f +MD5 (patch-ab) = a9ce059519e8125ae3008e5be67ac35f diff --git a/graphics/ruby-gl/patches/patch-ab b/graphics/ruby-gl/patches/patch-ab index afa85872f8a..c66a8e5a974 100644 --- a/graphics/ruby-gl/patches/patch-ab +++ b/graphics/ruby-gl/patches/patch-ab @@ -1,12 +1,16 @@ -$NetBSD: patch-ab,v 1.1 2001/01/03 16:48:07 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2001/01/09 23:20:52 wiz Exp $ --- ogl.c.orig Tue Feb 15 17:31:59 2000 +++ ogl.c -@@ -4211,7 +4211,6 @@ +@@ -4211,7 +4211,10 @@ #if defined(GL_VERSION_1_1) rb_define_const(mOGL, "CLIENT_PIXEL_STORE_BIT", INT2NUM(GL_CLIENT_PIXEL_STORE_BIT)); rb_define_const(mOGL, "CLIENT_VERTEX_ARRAY_BIT", INT2NUM(GL_CLIENT_VERTEX_ARRAY_BIT)); ++#ifndef GL_ALL_CLIENT_ATTRIB_BITS ++#define GL_ALL_CLIENT_ATTRIB_BITS GL_CLIENT_ALL_ATTRIB_BITS ++#endif - rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS)); ++ rb_define_const(mOGL, "ALL_CLIENT_ATTRIB_BITS", INT2NUM(GL_ALL_CLIENT_ATTRIB_BITS)); #endif /* GL_VERSION_1_1 */ rb_global_variable(&g_current_sel_buffer); |