1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/games/maelstrom/files/patch-aa
Matthew Hunt 9414530b46 Import of Maelstrom, a nifty Asteroids-like game. In its original
Macintosh form, it addicted a former roommate for the better part of
a semester.

PR:		6654
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
1998-05-17 05:43:37 +00:00

16 lines
363 B
Plaintext

--- mixer.cpp Thu Dec 5 13:14:44 1996
+++ /home/andy/tmp/wrk/mixer.cpp Wed May 13 23:06:18 1998
@@ -283,10 +283,12 @@
#endif /* linux */
/* This is necessary so that the sound server stays in sync */
+#ifndef __FreeBSD__
long flags;
flags = fcntl(dsp_fd, F_GETFL, 0);
flags |= O_SYNC;
(void) fcntl(dsp_fd, F_SETFL, flags);
+#endif
return(0);
}