Subject: pkg/15529: Please upgrade SDL to version 1.2.3
To: None <>
From: Ben Wong <>
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
>Originator:     Ben Wong
>Release:        NetBSD 1.5.2
System: NetBSD 1.5.2 NetBSD 1.5.2 (GENERIC) #0: Sat Nov 17 17:21:16 EST 2001 i386


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. 


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
       setenv SDL_VIDEODRIVER dga
       ./testsprite -hw		# This works, but flickers badly
       ./testsprite -hw -flip	# This uses double buffering and crashes


Please update the SDL package to use version 1.2.3.