On Fri, 25 Jan 2008, Antti Harri wrote:
If you don't specify a major.minor in the name passed dlopen() it will
select
the one with the highest major then highest minor after that.
Anyone wanting to commit this has my OK; it really fixes things...
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile 3 Jan 2008 17:39:40 -0000 1.60
+++ Makefile 25 Jan 2008 17:13:22 -0000
@@ -4,7 +4,7 @@
VERSION= 1.2.13
DISTNAME= SDL-${VERSION}
-PKGNAME= ${DISTNAME:L}
+PKGNAME= ${DISTNAME:L}p0
CATEGORIES= devel
HOMEPAGE= http://www.libsdl.org/
Index: patches/patch-src_video_x11_SDL_x11gl_c
===================================================================
RCS file: /cvs/ports/devel/sdl/patches/patch-src_video_x11_SDL_x11gl_c,v
retrieving revision 1.12
diff -u -r1.12 patch-src_video_x11_SDL_x11gl_c
--- patches/patch-src_video_x11_SDL_x11gl_c 22 Sep 2007 01:12:38 -0000
1.12
+++ patches/patch-src_video_x11_SDL_x11gl_c 25 Jan 2008 17:13:22 -0000
@@ -6,7 +6,7 @@
#define DEFAULT_OPENGL "libGL.so.3"
#elif defined(__OpenBSD__)
-#define DEFAULT_OPENGL "libGL.so.4.0"
-+#define DEFAULT_OPENGL "libGL.so.5.1"
++#define DEFAULT_OPENGL "libGL.so"
#else
#define DEFAULT_OPENGL "libGL.so.1"
#endif
--
Antoine