summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-21 17:02:21 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-21 17:02:21 +0000
commit9e07cf4c97874a30b11a5dd2ca83d55bcaf6e1f2 (patch)
treebf5d0a82f0d2a54958718dd7bbffaa6ad58e4289 /graphics/ruby-opengl/files
parentFix portlint bug where it thinks that missing a files/md5 is fatal but the (diff)
Fix the build for Mesa 3.2.1.
Diffstat (limited to 'graphics/ruby-opengl/files')
-rw-r--r--graphics/ruby-opengl/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ruby-opengl/files/patch-ab b/graphics/ruby-opengl/files/patch-ab
new file mode 100644
index 000000000000..65cab99dec7b
--- /dev/null
+++ b/graphics/ruby-opengl/files/patch-ab
@@ -0,0 +1,11 @@
+--- ogl.c.orig Mon Aug 7 01:20:07 2000
++++ ogl.c Fri Sep 22 01:58:15 2000
+@@ -4211,7 +4211,7 @@
+ #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));
++ rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_CLIENT_ATTRIB_BITS));
+ #endif /* GL_VERSION_1_1 */
+
+ rb_global_variable(&g_current_sel_buffer);