pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/dircproxy Add sane default for INADDR_LOOPBACK to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5501e4a98a4
branches:  trunk
changeset: 490428:d5501e4a98a4
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Mar 10 13:31:05 2005 +0000

description:
Add sane default for INADDR_LOOPBACK to assist compilation on Interix.

diffstat:

 chat/dircproxy/distinfo         |   3 ++-
 chat/dircproxy/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d9f83b463e5e -r d5501e4a98a4 chat/dircproxy/distinfo
--- a/chat/dircproxy/distinfo   Thu Mar 10 13:25:07 2005 +0000
+++ b/chat/dircproxy/distinfo   Thu Mar 10 13:31:05 2005 +0000
@@ -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 -r d9f83b463e5e -r d5501e4a98a4 chat/dircproxy/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/dircproxy/patches/patch-ab   Thu Mar 10 13:31:05 2005 +0000
@@ -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"
+ 



Home | Main Index | Thread Index | Old Index