openbsd-ports/games/gtkpool/patches/patch-sound_cc
reinhard ed94227bf7 Gtkpool is a simple pool simulation game with neat gtk
interface. It currently supports 8 and 9-ball pool,
has cool settings like friction and collision drag.
 
The game has some minor problems and is going to improve,
with even more customizable features, adding network
support, making the engine more realistic.

MAINTAINER=     Peter Valchev <pvalchev@toxiclinux.org>
2001-02-04 18:35:52 +00:00

18 lines
431 B
Plaintext

$OpenBSD: patch-sound_cc,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
--- sound.cc.orig Wed Dec 15 23:35:44 1999
+++ sound.cc Sat Jan 20 16:52:19 2001
@@ -3,7 +3,13 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#ifdef __OpenBSD__
+#include <soundcard.h>
+#include <sys/audioio.h>
+#include <string.h>
+#else
#include <sys/soundcard.h>
+#endif
#include <sys/ioctl.h>
#include <errno.h>
#include "sound.hh"