pkgsrc/devel/SDL/patches/patch-ac
2009-09-02 21:19:53 +00:00

14 lines
432 B
Text

$NetBSD: patch-ac,v 1.16 2009/09/02 21:19:54 wiz Exp $
--- src/video/x11/SDL_x11gl.c.orig 2007-12-31 04:48:13.000000000 +0000
+++ src/video/x11/SDL_x11gl.c
@@ -35,6 +35,9 @@
#define DEFAULT_OPENGL "libGL.so.3"
#elif defined(__OpenBSD__)
#define DEFAULT_OPENGL "libGL.so.4.0"
+#elif defined(__NetBSD__)
+/* pkgsrc is .1, base system is .2 */
+#define DEFAULT_OPENGL "libGL.so"
#else
#define DEFAULT_OPENGL "libGL.so.1"
#endif