summaryrefslogtreecommitdiff
path: root/graphics/ruby-gl
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-03 16:48:06 +0000
committerwiz <wiz>2001-01-03 16:48:06 +0000
commitab3695fd5ce4ad7b1ea50a100cd38f59144c1e43 (patch)
treea2162f4f60dea2278124fad17a4eda257dccf8e6 /graphics/ruby-gl
parent641f1dd589eb561509dbd456d6e616f72d278f34 (diff)
downloadpkgsrc-ab3695fd5ce4ad7b1ea50a100cd38f59144c1e43.tar.gz
Fix compilation with Mesa-3.4.
Diffstat (limited to 'graphics/ruby-gl')
-rw-r--r--graphics/ruby-gl/files/patch-sum3
-rw-r--r--graphics/ruby-gl/patches/patch-ab12
2 files changed, 14 insertions, 1 deletions
diff --git a/graphics/ruby-gl/files/patch-sum b/graphics/ruby-gl/files/patch-sum
index 31f6860cf99..281a2d16e9f 100644
--- a/graphics/ruby-gl/files/patch-sum
+++ b/graphics/ruby-gl/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.2 2000/04/24 09:43:05 sakamoto Exp $
+$NetBSD: patch-sum,v 1.3 2001/01/03 16:48:06 wiz Exp $
MD5 (patch-aa) = cdb9d37d6e55231f8f6adf4e78d3d429
+MD5 (patch-ab) = c004b6582e8e109c7dbc5bad79dc5f8f
diff --git a/graphics/ruby-gl/patches/patch-ab b/graphics/ruby-gl/patches/patch-ab
new file mode 100644
index 00000000000..afa85872f8a
--- /dev/null
+++ b/graphics/ruby-gl/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2001/01/03 16:48:07 wiz Exp $
+
+--- ogl.c.orig Tue Feb 15 17:31:59 2000
++++ ogl.c
+@@ -4211,7 +4211,6 @@
+ #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));
+- rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS));
+ #endif /* GL_VERSION_1_1 */
+
+ rb_global_variable(&g_current_sel_buffer);