diff options
author | tv <tv@pkgsrc.org> | 2005-03-10 13:31:05 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-03-10 13:31:05 +0000 |
commit | cd94db8b37d3348b75b2f0338c15f905e557710e (patch) | |
tree | 6908d5c65d69b9aa6c2d8b7c8927437582fb2854 /chat | |
parent | e62bb0f3d37dd534056c36273d1c2d83951a5ad4 (diff) | |
download | pkgsrc-cd94db8b37d3348b75b2f0338c15f905e557710e.tar.gz |
Add sane default for INADDR_LOOPBACK to assist compilation on Interix.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/dircproxy/distinfo | 3 | ||||
-rw-r--r-- | chat/dircproxy/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/chat/dircproxy/distinfo b/chat/dircproxy/distinfo index 84eb16b06c8..0d4b58c9cb9 100644 --- a/chat/dircproxy/distinfo +++ b/chat/dircproxy/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 15:59:10 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/03/10 13:31:05 tv Exp $ SHA1 (dircproxy-1.0.5.tar.gz) = eaf159d2a1303f82e079940b381c0e71b9b90c28 RMD160 (dircproxy-1.0.5.tar.gz) = 8082fbe3c83b9e38eae9a2b48bf244e277b3e63b Size (dircproxy-1.0.5.tar.gz) = 217965 bytes SHA1 (patch-aa) = 9c59e9f4c0cfaca7a9e000eab2a8af1b6c16329f +SHA1 (patch-ab) = 4d2cd9dbc972e4f2f7ac20b32dc65e755796d6f0 diff --git a/chat/dircproxy/patches/patch-ab b/chat/dircproxy/patches/patch-ab new file mode 100644 index 00000000000..1c4a7cde3f8 --- /dev/null +++ b/chat/dircproxy/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2005/03/10 13:31:05 tv Exp $ + +--- src/irc_net.h.orig 2002-02-06 05:07:42.000000000 -0500 ++++ src/irc_net.h +@@ -21,6 +21,10 @@ + #include <arpa/inet.h> + #include <time.h> + ++#ifndef INADDR_LOOPBACK ++#define INADDR_LOOPBACK inet_addr("127.0.0.1") ++#endif ++ + #include "irc_prot.h" + #include "stringex.h" + |