summaryrefslogtreecommitdiff
path: root/devel/SDL/patches
diff options
context:
space:
mode:
authorwiz <wiz>2009-09-02 21:19:53 +0000
committerwiz <wiz>2009-09-02 21:19:53 +0000
commit358eca0a69cc33dfad3dd646e15569083a1db177 (patch)
tree656d6627d952be25589955b89ca778c674714c2b /devel/SDL/patches
parentd8ebad096593416e4d7c5f386e5d26e08b4293ef (diff)
downloadpkgsrc-358eca0a69cc33dfad3dd646e15569083a1db177.tar.gz
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION. From mrg@
Diffstat (limited to 'devel/SDL/patches')
-rw-r--r--devel/SDL/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/SDL/patches/patch-ac b/devel/SDL/patches/patch-ac
new file mode 100644
index 00000000000..202b6893064
--- /dev/null
+++ b/devel/SDL/patches/patch-ac
@@ -0,0 +1,14 @@
+$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