1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00

Fix the build for Mesa 3.2.1.

This commit is contained in:
Akinori MUSHA 2000-09-21 17:02:21 +00:00
parent 89ac3f8bd9
commit 9e07cf4c97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32939
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= opengl
PORTVERSION= 0.31
PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}

View File

@ -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);