pkgsrc/devel/SDL/patches/patch-af
rh 024804d8b4 Update SDL to 1.2.2. Changes include:
* Native NetBSD audio support
    * Now gets correct keyboard state when starting up on X11
    * Improved the DGA 2.0 and framebuffer console drivers
    * Improved OSS audio driver support, thanks to 4Front Tech.
    * Improved X11 fullscreen support, works better with KDE
2001-09-24 14:28:55 +00:00

13 lines
362 B
Text

$NetBSD: patch-af,v 1.5 2001/09/24 14:28:55 rh Exp $
--- src/audio/SDL_audiodev.c.orig Mon Sep 24 14:11:43 2001
+++ src/audio/SDL_audiodev.c
@@ -39,7 +39,7 @@
#include "SDL_audiodev_c.h"
#ifndef _PATH_DEV_DSP
-#ifdef __OpenBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#define _PATH_DEV_DSP "/dev/audio"
#else
#define _PATH_DEV_DSP "/dev/dsp"