diff options
author | tron <tron> | 1999-12-29 21:47:03 +0000 |
---|---|---|
committer | tron <tron> | 1999-12-29 21:47:03 +0000 |
commit | 0906797173912a721cb89081be685049feb88325 (patch) | |
tree | aa18234af3c9c8f10e736adaf1773da7a127dd4d /games/xdoom | |
parent | f96fa7997e644958ccbad81b9ea0bf2b3427ed06 (diff) | |
download | pkgsrc-0906797173912a721cb89081be685049feb88325.tar.gz |
Use "/dev/sound" instead of "/dev/dsp" as sound device. Fixes PR pkg/9066
by Richard Rauch.
Diffstat (limited to 'games/xdoom')
-rw-r--r-- | games/xdoom/files/patch-sum | 4 | ||||
-rw-r--r-- | games/xdoom/patches/patch-ae | 26 |
2 files changed, 24 insertions, 6 deletions
diff --git a/games/xdoom/files/patch-sum b/games/xdoom/files/patch-sum index dd903b3033c..b1f0f1ce53c 100644 --- a/games/xdoom/files/patch-sum +++ b/games/xdoom/files/patch-sum @@ -1,10 +1,10 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 13:51:02 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/12/29 21:47:03 tron Exp $ MD5 (patch-aa) = 7749526d8edf1adcc295dc854daa6cff MD5 (patch-ab) = aab64ff11eb3cace9af1e0069982fb92 MD5 (patch-ac) = 4c573f258ce24464242bdf98aabb23ec MD5 (patch-ad) = a05c1c46392a7685805e637f85c5a93e -MD5 (patch-ae) = a4535f60e6b1d88f53429705c3877b25 +MD5 (patch-ae) = 1c6b7c10905903682005a5e38f005895 MD5 (patch-af) = 0665a6cb28fe4b3e8a8e0e93d33765fe MD5 (patch-ag) = f5e6dad8e34f2a09e9c343beec650b2c MD5 (patch-ah) = 4b4ce100e1bd3bf6aec20e1f050735b5 diff --git a/games/xdoom/patches/patch-ae b/games/xdoom/patches/patch-ae index a5452b7bc42..4759c3057ba 100644 --- a/games/xdoom/patches/patch-ae +++ b/games/xdoom/patches/patch-ae @@ -1,7 +1,8 @@ -$NetBSD: patch-ae,v 1.1 1998/09/06 16:37:45 hubertf Exp $ ---- sndserv/linux.c.orig Sun Sep 6 18:02:05 1998 -+++ sndserv/linux.c Sun Sep 6 18:02:31 1998 -@@ -39,8 +39,9 @@ +$NetBSD: patch-ae,v 1.2 1999/12/29 21:47:04 tron Exp $ + +--- sndserv/linux.c.orig Sun Jan 26 08:45:01 1997 ++++ sndserv/linux.c Wed Dec 29 22:41:14 1999 +@@ -39,11 +39,14 @@ #include <stdio.h> #include <fcntl.h> #include <unistd.h> @@ -12,3 +13,20 @@ $NetBSD: patch-ae,v 1.1 1998/09/06 16:37:45 hubertf Exp $ #include "soundsrv.h" ++#define SOUND_DEV "/dev/sound" ++ + int audio_fd; + + void +@@ -76,9 +79,9 @@ + + int i; + +- audio_fd = open("/dev/dsp", O_WRONLY); ++ audio_fd = open(SOUND_DEV, O_WRONLY); + if (audio_fd<0) +- fprintf(stderr, "Could not open /dev/dsp\n"); ++ fprintf(stderr, "Could not open "SOUND_DEV"\n"); + + + i = 11 | (2<<16); |