summaryrefslogtreecommitdiff
path: root/games/abuse/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'games/abuse/patches/patch-ah')
-rw-r--r--games/abuse/patches/patch-ah12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/abuse/patches/patch-ah b/games/abuse/patches/patch-ah
index bee401a9d94..7002c40765c 100644
--- a/games/abuse/patches/patch-ah
+++ b/games/abuse/patches/patch-ah
@@ -1,12 +1,12 @@
-$NetBSD: patch-ah,v 1.1 2002/07/16 14:26:20 agc Exp $
+$NetBSD: patch-ah,v 1.2 2005/11/11 15:20:41 joerg Exp $
---- imlib/port/unix/jnet.c 2002/07/16 13:49:13 1.1
-+++ imlib/port/unix/jnet.c 2002/07/16 13:53:23
-@@ -30,6 +30,12 @@
+--- imlib/port/unix/jnet.c.orig 1996-05-24 20:48:19.000000000 +0000
++++ imlib/port/unix/jnet.c
+@@ -30,6 +30,12 @@ extern "C" {
#include "macs.hpp"
#include "jmalloc.hpp"
-+#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#define SOCKLEN_TYPE __socklen_t
+#else
+#define SOCKLEN_TYPE int
@@ -15,7 +15,7 @@ $NetBSD: patch-ah,v 1.1 2002/07/16 14:26:20 agc Exp $
int net_init(int protocol)
{
if (protocol==TCPIP_PROTOCOL) // UNIX always has TCPIP!
-@@ -146,7 +152,7 @@
+@@ -146,7 +152,7 @@ out_socket *unix_in_socket::check_for_co
if (FD_ISSET(fd,&set))
{