From cd94db8b37d3348b75b2f0338c15f905e557710e Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 10 Mar 2005 13:31:05 +0000 Subject: Add sane default for INADDR_LOOPBACK to assist compilation on Interix. --- chat/dircproxy/distinfo | 3 ++- chat/dircproxy/patches/patch-ab | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 chat/dircproxy/patches/patch-ab (limited to 'chat') 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 + #include + ++#ifndef INADDR_LOOPBACK ++#define INADDR_LOOPBACK inet_addr("127.0.0.1") ++#endif ++ + #include "irc_prot.h" + #include "stringex.h" + -- cgit v1.2.3