diff options
author | knu <knu@FreeBSD.org> | 2000-09-22 01:02:21 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-22 01:02:21 +0800 |
commit | cb18a0478d73c8d32ea500e394125d5f80280b25 (patch) | |
tree | 06fc20120fdd6bac4a7667ce7a6f5bb9b5748847 /graphics/ruby-opengl | |
parent | a423963728e39f6e317499eb74356128b744750e (diff) | |
download | freebsd-ports-gnome-cb18a0478d73c8d32ea500e394125d5f80280b25.tar.gz freebsd-ports-gnome-cb18a0478d73c8d32ea500e394125d5f80280b25.tar.zst freebsd-ports-gnome-cb18a0478d73c8d32ea500e394125d5f80280b25.zip |
Fix the build for Mesa 3.2.1.
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r-- | graphics/ruby-opengl/Makefile | 1 | ||||
-rw-r--r-- | graphics/ruby-opengl/files/patch-ab | 11 |
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); |