Subject: pkg/15529: Please upgrade SDL to version 1.2.3
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Wong <benjamin.wong@cc.gatech.edu>
List: netbsd-bugs
Date: 02/07/2002 10:32:03
>Number:         15529
>Category:       pkg
>Synopsis:       pkgsrc has SDL-1.2.2; the latest stable version is SDL-1.2.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 07 07:32:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ben Wong
>Release:        NetBSD 1.5.2
>Organization:
	
>Environment:
	
System: NetBSD ursula.wongs.net 1.5.2 NetBSD 1.5.2 (GENERIC) #0: Sat Nov 17 17:21:16 EST 2001 toor@ursula.wongs.net:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:

Pkgsrc has SDL version 1.2.2. Since November, the stable version of
SDL has been 1.2.3. 

SDL 1.2.3 fixes some annoying bugs, including a major one which causes
a coredump whenever double-buffering is used with the dga video
driver. Since double-buffering is necessary to avoid flickering when
blitting directly to video memory, this is a serious limitation. 

>How-To-Repeat:

Try the testsprite program which is in the "test" directory of SDL.
Notice that with dga and double-buffering, it crashes with a
segmentation fault.

       su -l
       cd /usr/pkgsrc/*/SDL
       make extract
       make install		# if you don't already have SDL installed
       cd work/SDL-1.2.2/test
       configure
       gmake
       setenv SDL_VIDEODRIVER dga
       ./testsprite -hw		# This works, but flickers badly
       ./testsprite -hw -flip	# This uses double buffering and crashes

>Fix:

Please update the SDL package to use version 1.2.3.
>Release-Note:
>Audit-Trail:
>Unformatted: