openbsd-ports/games/quake/patches/patch-common_snd_oss_c
espie 39429549e3 Quake. Needs you to have datafiles to be useful.
Original by Maurices Nonnekes, a few tweaks (sound, i386 optimizations,
longer save menus) by me.

The client/server part probably still needs some work... 
and it is definitely unaudited.

Packaging might be changed to account for docs...

In fact, I really need `common' package files and reference counting...
2001-08-03 13:02:16 +00:00

14 lines
450 B
Plaintext

$OpenBSD: patch-common_snd_oss_c,v 1.1.1.1 2001/08/03 13:02:16 espie Exp $
--- common/snd_oss.c.orig Mon Jul 23 05:23:56 2001
+++ common/snd_oss.c Mon Jul 23 05:24:12 2001
@@ -30,6 +30,9 @@ Foundation, Inc., 59 Temple Place - Suit
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
+#if defined HAVE_SOUNDCARD_H
+#include <soundcard.h>
+#endif
#if defined HAVE_SYS_SOUNDCARD_H
# include <sys/soundcard.h>
#elif defined HAVE_LINUX_SOUNDCARD_H