head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.24 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.20 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.18 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.16 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.5 date 2007.07.25.23.31.12; author wiz; state dead; branches; next 1.4; 1.4 date 2006.08.03.20.21.20; author rillig; state Exp; branches; next 1.3; 1.3 date 2002.10.13.19.28.58; author kristerw; state dead; branches; next 1.2; 1.2 date 2001.04.17.16.27.23; author rh; state Exp; branches; next 1.1; 1.1 date 2000.10.22.16.55.20; author rh; state Exp; branches; next ; desc @@ 1.5 log @Update to 1.2.12: 1.2.12: Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X and X11. Also, many pkgsrc patches were integrated. @ text @$NetBSD: patch-an,v 1.4 2006/08/03 20:21:20 rillig Exp $ For Solaris 8. --- src/video/dga/SDL_dgaevents.c.orig 2006-05-01 10:02:44.000000000 +0200 +++ src/video/dga/SDL_dgaevents.c 2006-08-03 22:02:23.969158093 +0200 @@@@ -24,6 +24,8 @@@@ /* Handle the event stream, converting DGA events into SDL events */ #include +#define NEED_EVENTS +#define NEED_REPLIES #include #include "../Xext/extensions/xf86dga.h" @ 1.4 log @Added two patches for Solaris 8. The X11 implementation does not define the xEvent structure unless NEED_EVENTS is defined. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update SDL to version 1.2.5. This update consists of numerous bugfixes. See http://www.libsdl.org/release/changes-1.2.html for a full list. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.2 2001/04/17 16:27:23 rh Exp $ d3 6 a8 5 --- src/audio/sun/SDL_sunaudio.c.orig Sat Feb 10 08:20:03 2001 +++ src/audio/sun/SDL_sunaudio.c @@@@ -52,6 +52,10 @@@@ #include "SDL_audio_c.h" #include "SDL_timer.h" d10 5 a14 6 +#if _POSIX_THREAD_SYSCALL_SOFT +#include +#endif + /* Open the audio device for playback, and don't block if busy */ #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK) @ 1.2 log @Update SDL to 1.2.0. This closes PR 12684 by Tomasz Luchowski Changes include: 1.2.0: Added initial support for HP-UX (thanks Stephanie) 1.2.0: Added initial support for BSDI (thanks Kurt) 1.2.0: Fixed blitting 32-bit ARGB images to SDL_OPENGLBLIT screens 1.2.0: Fixed automake build dependencies (thanks Markus!) 1.2.0: Added 24 bpp support to software YUV display functions 1.2.0: Don't bomb trying to get DGA mouse on XFree86 4.0 1.2.0: Added initial support for OSF/Tru64 (thanks Anders) 1.1.8: Fixed joystick hat motion on MacOS 1.1.8: Don't detect mouse and keyboard as joystick on MacOS 1.1.8: Check for OpenGL 1.2 before using 16-bit SDL_OPENGLBLIT 1.1.8: Added support for /dev/sound/* in Linux 2.4 1.1.8: Fixed crash when blitting to RLE encoded surfaces 1.1.8: Fixed 8-bit audio on MacOS X 1.1.8: Fixed keyboard handling on MacOS X and MacOS classic 1.1.8: Fixed mouse cursor visibility when switching apps on MacOS 1.1.8: Implemented semaphore support on MacOS X 1.1.8: Worked around broken sem_getvalue() on MacOS X 1.1.8: Fixed 16-bit big-endian audio on MacOS X and MacOS classic 1.1.8: Fixed mutex locking on Linux glibc 2.0 1.1.8: SDL_Quit() removes the parachute signal handlers 1.1.8: Added NAS audio server support (thanks Erik!) 1.1.8: Added SDL_NOFRAME for frameless windows (thanks Andreas) 1.1.8: Added support for resizable windows on MacOS 1.1.8: Added a function to query the surface clip rectangle 1.1.8: Added a function to query the current event filter 1.1.8: The X11 XVideo adapter is now locked (thanks Jeffrey) 1.1.8: Improved the speed of fullscreen OpenGL on Windows 1.1.8: Added ELO touchscreen support for fbcon (thanks Alex) 1.1.8: Added accelerated MacOS X OpenGL support 1.1.8: Surface lock and unlock operations can now be nested 1.1.8: Optimized fillrect for PPC video memory (thanks Mattias) 1.1.8: Work around "blackout" problem with XVideo acceleration 1.1.8: Obtain correct key state on X11 focus (thanks Mattias) 1.1.8: Fixed keyboard handling on the framebuffer console 1.1.8: Added basic support for VGA16 framebuffer console 1.1.8: Open a new virtual terminal if possible on fbcon 1.1.8: Fixed default audio driver on FreeBSD (thanks Maxim) 1.1.8: Fixed joystick crash on Windows (thanks Pete) 1.1.7: Expanded documentation from the SDL Documentation Project 1.1.7: Report X11 client message events if SYSWMEVENTS enabled 1.1.7: Added support for a single hat on Windows joysticks 1.1.7: The gamma ramp routines now take arrays of Uint16 values 1.1.7: Added initial support for QNX RTP (thanks Patrick) 1.1.7: Added ALSA sound driver (thanks Patrick Trainor) 1.1.7: Added aRts UNIX sound driver (thanks Neil Stevens) 1.1.7: Get keyboard modifier state on input focus on Win32 1.1.7: SDL_ConvertSurface() now accepts SDL_RLEACCEL as a flag 1.1.7: Added initial UnixWare 7 support (thanks rr) 1.1.7: Added working YUY -> RGB conversion code (thanks Eugene) 1.1.7: Fixed video initialization crash on IRIX 1.1.7: Fixed MacOS fullscreen palette code (thanks Darrell) 1.1.7: Fixed background brush flicker on Win32 (thanks Gautier) 1.1.7: Fixed incorrect pitch when switching to window on Win32 1.1.7: Fixed memory leak when switching video modes on Win32 1.1.7: Init of fbcon shouldn't automatically set graphics mode @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix several severe problems that prevented this package from passing its own tests. Bump version to 1.1.5nb1 Changes include: - make multithreading actually work - activate esound backend - /dev/dsp -> /dev/audio - /dev/cdrom -> /dev/cd?a - tons of bugfixes @ text @d3 2 a4 2 --- src/audio/solaris/SDL_sysaudio.c.orig Sun Sep 24 05:07:32 2000 +++ src/audio/solaris/SDL_sysaudio.c a15 12 @@@@ -109,7 +113,11 @@@@ } AudioBootStrap AUDIO_bootstrap = { +#ifdef __NetBSD__ + "audio", Audio_Available, Audio_CreateDevice +#else "dsp", Audio_Available, Audio_CreateDevice +#endif }; #ifdef DEBUG_AUDIO @