From 9e07cf4c97874a30b11a5dd2ca83d55bcaf6e1f2 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 21 Sep 2000 17:02:21 +0000 Subject: [PATCH] Fix the build for Mesa 3.2.1. --- graphics/ruby-opengl/Makefile | 1 + graphics/ruby-opengl/files/patch-ab | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 graphics/ruby-opengl/files/patch-ab 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);