-- dl2YBQNQuqM6LokX6Er Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2003-09-07 at 07:44, Masao Mutoh wrote: > Hi, > > Ruby-GNOME2-0.7.0 is now available. Enjoy! I have to apply this patch to get it to compile under 1.8.0, gcc3.3 on PLD-Linux -- "nil" should not be passed to have_library in mkmf. -- dl2YBQNQuqM6LokX6Er Content-Disposition: attachment; filename=ruby-rbogl-extconf.patch Content-Type: text/x-patch; name=ruby-rbogl-extconf.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -ur opengl-orig/extconf.rb opengl/extconf.rb --- opengl-orig/extconf.rb 2001-11-30 22:24:58.000000000 -0700 +++ opengl/extconf.rb 2003-09-07 09:02:23.000000000 -0600 @@ -43,8 +43,8 @@ $objs "glu.o", "ogl.o", "rbogl.o"] #have_library("pthread", "pthread_create") -(have_library(gl_libname, nil) || have_library("Mesa"+gl_libname, nil)) && - (have_library(glu_libname, nil) || have_library("Mesa"+glu_libname, nil)) && +(have_library(gl_libname) || have_library("Mesa"+gl_libname)) && + (have_library(glu_libname) || have_library("Mesa"+glu_libname)) && create_makefile("opengl") if (FileTest.exist? "Makefile") open("Makefile") {|f| @@ -64,7 +64,7 @@ have_library("Xi", "XAllowDeviceEvents") && have_library("Xext", "XMITMiscGetBugMode") && have_library("Xmu", "XmuAddCloseDisplayHook") -have_library(glut_libname, nil) && +have_library(glut_libname) && create_makefile("glut") if (FileTest.exist? "Makefile") open("Makefile") {|f| Only in opengl: extconf.rb~ -- dl2YBQNQuqM6LokX6Er--