diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-03-24 01:23:13 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-03-24 01:23:13 +0000 |
commit | 0095d3ed79c4331f2dbc302f89c13f330888389a (patch) | |
tree | d9cc86948faad5b563ab6b878f80b4c02829a7dc /games/maelstrom/files/patch-aa | |
parent | Compile the mouse driver even if the user choose to not build the servers (diff) |
update to 3.0.1
PR: 17362
Submitted by: Maxim Sobolev <sobomax@altavista.net>
Notes
Notes:
svn path=/head/; revision=27005
Diffstat (limited to 'games/maelstrom/files/patch-aa')
-rw-r--r-- | games/maelstrom/files/patch-aa | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/games/maelstrom/files/patch-aa b/games/maelstrom/files/patch-aa index bcc988814739..8b26fe1b3b7b 100644 --- a/games/maelstrom/files/patch-aa +++ b/games/maelstrom/files/patch-aa @@ -1,15 +1,11 @@ ---- 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 */ +--- netlogic/netplay.cpp.orig Mon Mar 13 20:51:15 2000 ++++ netlogic/netplay.cpp Mon Mar 13 20:52:10 2000 +@@ -39,7 +39,7 @@ + #define RESET_ERRNO() errno = 0 + #endif /* WIN32 */ - /* 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 +-#if !defined(linux) && !defined(__SVR4) ++#if !defined(linux) && !defined(__SVR4) && !defined(__FreeBSD__) + typedef int socklen_t; + #endif - return(0); - } |