summaryrefslogtreecommitdiff
path: root/graphics/ruby-gl
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-09 23:20:51 +0000
committerwiz <wiz@pkgsrc.org>2001-01-09 23:20:51 +0000
commit012a3d2d51cdeed643d785428aaafaefa8df8dde (patch)
tree8a17b775ef230a2a4d1a0ed83a0a74638ffa9d99 /graphics/ruby-gl
parentfeba324fdc9756c27ae1d135896940657c777a04 (diff)
downloadpkgsrc-012a3d2d51cdeed643d785428aaafaefa8df8dde.tar.gz
Correct fix, based on a suggestion by Brian Paul.
Diffstat (limited to 'graphics/ruby-gl')
-rw-r--r--graphics/ruby-gl/files/patch-sum4
-rw-r--r--graphics/ruby-gl/patches/patch-ab8
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);