patch-ac (from mrg@NetBSD.org): SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Fri, 16 Oct 2009 05:06:17 +0000
branchSDL-1.2
changeset 4343d380e7a6265b
parent 4342 f2800721813d
child 4344 14f95e514408
patch-ac (from mrg@NetBSD.org):
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
(the comment inline explains why)
src/video/x11/SDL_x11gl.c
     1.1 --- a/src/video/x11/SDL_x11gl.c	Fri Oct 16 05:05:21 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Fri Oct 16 05:06:17 2009 +0000
     1.3 @@ -35,6 +35,9 @@
     1.4  #define DEFAULT_OPENGL	"libGL.so.3"
     1.5  #elif defined(__OpenBSD__)
     1.6  #define DEFAULT_OPENGL	"libGL.so.4.0"
     1.7 +#elif defined(__NetBSD__)
     1.8 +/* pkgsrc is .1, base system is .2 */
     1.9 +#define DEFAULT_OPENGL	"libGL.so"
    1.10  #else
    1.11  #define DEFAULT_OPENGL	"libGL.so.1"
    1.12  #endif