Commit 8c95595f authored by Robert Ricci's avatar Robert Ricci

Add a new patch to fix a problem in which elvin was trying to use IPv6

on the loopback interface. Bump port revision.
parent ef79aa94
......@@ -4,7 +4,7 @@
PORTNAME= libelvin
PORTVERSION= 4.0.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MAINTAINER= ricci@cs.utah.edu
......
--- src/lib/tcp_transport.c.orig Mon Nov 8 16:58:37 2004
+++ src/lib/tcp_transport.c Mon Nov 8 16:58:50 2004
@@ -621,7 +621,7 @@
/* Look up the host address */
memset(&hint, 0, sizeof(hint));
- hint.ai_family = AF_UNSPEC;
+ hint.ai_family = PF_INET;
hint.ai_socktype = SOCK_STREAM;
sprintf(port, "%d", context->port);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment