diff options
author | miwi <miwi@FreeBSD.org> | 2009-11-04 08:37:24 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-11-04 08:37:24 +0000 |
commit | 2f681d63aadf7289b1f32399a5c74cfefd9a748f (patch) | |
tree | 9543cf3a1057443bd1e1cda4f128db670cc86d0d /games/doom/files/patch-i_net.c | |
parent | dd7629aec8e044fa7ef50fc7473969340d3f3655 (diff) | |
download | FreeBSD-ports-2f681d63aadf7289b1f32399a5c74cfefd9a748f.zip FreeBSD-ports-2f681d63aadf7289b1f32399a5c74cfefd9a748f.tar.gz |
- Remove some patches as I added them as REINPLACE_
- Rename the patches to make them less confusing
- Add a hack to replace all %%LOCALBASE%% to ${LOCALBASE}
PR: 140233
Submitted by: Chris Petrik <chris@officialunix.com> (maintainer)
Diffstat (limited to 'games/doom/files/patch-i_net.c')
-rw-r--r-- | games/doom/files/patch-i_net.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games/doom/files/patch-i_net.c b/games/doom/files/patch-i_net.c new file mode 100644 index 0000000..12f8b0b --- /dev/null +++ b/games/doom/files/patch-i_net.c @@ -0,0 +1,35 @@ +--- linuxdoom-1.10/i_net.c~ Mon Dec 22 21:37:46 1997 ++++ linuxdoom-1.10/i_net.c Mon Jul 22 10:06:25 2002 +@@ -23,6 +23,7 @@ + static const char + rcsid[] = "$Id: patch-ae,v 1.1.1.1 1998/12/14 21:18:25 jmz Exp $"; + ++#include <sys/types.h> + #include <stdlib.h> + #include <string.h> + #include <stdio.h> +@@ -51,6 +52,7 @@ + + + ++#if 0 + // For some odd reason... + #define ntohl(x) \ + ((unsigned long int)((((unsigned long int)(x) & 0x000000ffU) << 24) | \ +@@ -64,6 +66,7 @@ + + #define htonl(x) ntohl(x) + #define htons(x) ntohs(x) ++#endif + + void NetSend (void); + boolean NetListen (void); +@@ -73,7 +76,7 @@ + // NETWORKING + // + +-int DOOMPORT = (IPPORT_USERRESERVED +0x1d ); ++int DOOMPORT = 5029; + + int sendsocket; + int insocket; |