On Sunday 22 May 2011 01:12:31 Brynet wrote: > Cool, thanks for looking at this Ryan and Antti for sending it to him, my > patches made revision 1879-1881 so anything newer than that is cool. > > They rejected my change for OpenGL support though, this project dlopen's > libGL.so.1 and libGLU.so.1. > > The following patch is needed for that, other things that might be worth > fixing is the GTK+ frontend, and POLYMER. I think NEDMALLOC can be avoided. > > Good luck, > -Bryan. > > diff -Nru /dev/null eduke32/build/src/glbuild.c > --- /dev/null Thu Jan 1 00:00:00 1970 > +++ eduke32/build/src/glbuild.c Fri Dec 10 23:21:54 2010 > @@ -329,8 +329,10 @@ > driver = "opengl32.dll"; > #elif defined __APPLE__ > driver = "/System/Library/Frameworks/OpenGL.framework/OpenGL"; > +#elif defined __linux__ > + driver = "libGL.so.1" > #else > - driver = "libGL.so.1"; > + driver = "libGL.so"; > #endif > } > > @@ -918,8 +920,10 @@ > driver = "glu32.dll"; > #elif defined __APPLE__ > driver = "/System/Library/Frameworks/OpenGL.framework/OpenGL"; // > FIXME: like I know anything about Apple. Hah. -#else > +#elif defined __linux__ > driver = "libGLU.so.1"; > +#else > + driver = "libGLU.so"; > #endif > }
Ask them to add: #elif defined __OpenBSD__ driver = "libGL.so" -- Antti Harri