summaryrefslogtreecommitdiff
path: root/games/quake6/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake6/patches/patch-ae')
-rw-r--r--games/quake6/patches/patch-ae23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/quake6/patches/patch-ae b/games/quake6/patches/patch-ae
new file mode 100644
index 00000000000..bc26b9adbe8
--- /dev/null
+++ b/games/quake6/patches/patch-ae
@@ -0,0 +1,23 @@
+$NetBSD: patch-ae,v 1.1 2002/01/10 16:43:28 skrll Exp $
+
+--- qw_common/net.h.orig Wed Jan 12 03:03:44 2000
++++ qw_common/net.h
+@@ -25,16 +25,14 @@
+
+ #define PORT_ANY -1
+
+-#ifdef AF_INET6
+ typedef struct
+ {
+- unsigned int ip[4];
++#ifdef AF_INET6
++ u_int32_t ip[4];
+ unsigned char family;
+ unsigned short port;
+ unsigned short pad;
+ #else
+-typedef struct
+-{
+ byte ip[4];
+ unsigned short port;
+ unsigned short pad;