pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40649: devel/SDL uses libGL.so.1 by default



>Number:         40649
>Category:       pkg
>Synopsis:       devel/SDL uses libGL.so.1 by default
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 15 15:50:00 +0000 2009
>Originator:     Jared D. McNeill
>Release:        NetBSD 5.99.7
>Organization:
        
>Environment:
        
        
System: NetBSD black.invisible.ca 5.99.7 NetBSD 5.99.7 (GENERIC) #12: Sat Feb 
14 19:40:44 EST 2009 
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        ./src/video/x11/SDL_x11gl.c contains:

        #if defined(__IRIX__)
        /* IRIX doesn't have a GL library versioning system */
        #define DEFAULT_OPENGL  "libGL.so"
        #elif defined(__MACOSX__)
        #define DEFAULT_OPENGL  "/usr/X11R6/lib/libGL.1.dylib"
        #elif defined(__QNXNTO__)
        #define DEFAULT_OPENGL  "libGL.so.3"
        #elif defined(__OpenBSD__)
        #define DEFAULT_OPENGL  "libGL.so.4.0"
        #else
        #define DEFAULT_OPENGL  "libGL.so.1"
        #endif

        However, native Xorg installs libGL.so.2 at least on NetBSD -current.
>How-To-Repeat:
        Run an application that uses SDL with the glx driver.
>Fix:
        Workaround: Set SDL_VIDEO_GL_DRIVER=libGL.so.2 in the environment.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index