summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl
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
parentFix portlint bug where it thinks that missing a files/md5 is fatal but the (diff)
Fix the build for Mesa 3.2.1.
Notes
Notes: svn path=/head/; revision=32939
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r--graphics/ruby-opengl/Makefile1
-rw-r--r--graphics/ruby-opengl/files/patch-ab11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
index 11bb90853b7a..18a05837f0d1 100644
--- a/graphics/ruby-opengl/Makefile
+++ b/graphics/ruby-opengl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opengl
PORTVERSION= 0.31
+PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
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);