diff options
author | roam <roam@FreeBSD.org> | 2006-11-08 16:02:44 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2006-11-08 16:02:44 +0000 |
commit | 552701b634d90e59b97384bf25e1c15dc8a0ea9a (patch) | |
tree | 38f260cdc7d4390e4e98f4c86f9ec821ef5bafd6 /games | |
parent | 55466d5d8ee651cda35d2c566aeba3e4864e18af (diff) | |
download | FreeBSD-ports-552701b634d90e59b97384bf25e1c15dc8a0ea9a.zip FreeBSD-ports-552701b634d90e59b97384bf25e1c15dc8a0ea9a.tar.gz |
Unbreak the build on 5.x without MSG_NOSIGNAL. Also submitted upstream.
Diffstat (limited to 'games')
-rw-r--r-- | games/frozenbubble/files/patch-server_net.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games/frozenbubble/files/patch-server_net.h b/games/frozenbubble/files/patch-server_net.h new file mode 100644 index 0000000..023884e --- /dev/null +++ b/games/frozenbubble/files/patch-server_net.h @@ -0,0 +1,23 @@ +Index: server/net.h +=================================================================== +--- server/net.h (revision 741) ++++ server/net.h (revision 742) +@@ -17,11 +17,18 @@ + * + ******************************************************************************/ + ++#include <sys/types.h> ++#include <sys/socket.h> ++ + #include <stdlib.h> + #include <unistd.h> + + #include <glib.h> + ++#ifndef MSG_NOSIGNAL ++#define MSG_NOSIGNAL 0 ++#endif ++ + extern const int proto_major; + extern const int proto_minor; + |