On Friday 25 January 2008 00:21:38 Antti Harri wrote:
> 
> Anyone?

ok brad@

Though something really needs to be done about fixing this properly.
IMO this is ridiculous to have a hardcoded shared library name in the
resulting binary.

> On Fri, 18 Jan 2008, Antti Harri wrote:
> >
> > Hi,
> >
> > I found out the reason why some SDL apps were segfaulting.
> >
> > http://users.openbsd.fi/iku/files/sdl.diff
> >
> > ? w-sdl-1.2.13
> > 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        18 Jan 2008 19:02:23 -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 18 Jan 2008 19:02:23 -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.6.0"
> >  #else
> >  #define DEFAULT_OPENGL     "libGL.so.1"
> >  #endif
> >
> >
> >

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Reply via email to