diff options
author | joerg <joerg> | 2005-11-11 15:20:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-11-11 15:20:41 +0000 |
commit | 06883a305482d6506f7f8d17629747c3f5f51c63 (patch) | |
tree | 79adbe72dc351f32036c133f1b307866dad2cf6a /games/abuse/patches/patch-ah | |
parent | 1464bd09508c518e1b1144d6c118c63f25129854 (diff) | |
download | pkgsrc-06883a305482d6506f7f8d17629747c3f5f51c63.tar.gz |
Add DragonFly to the systems with socklen_t. Remove an useless
make_block call which depends on the size of FILE.
Diffstat (limited to 'games/abuse/patches/patch-ah')
-rw-r--r-- | games/abuse/patches/patch-ah | 12 |
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)) { |