diff options
author | minskim <minskim> | 2007-06-18 19:00:21 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-06-18 19:00:21 +0000 |
commit | a08ba1caf497c7253f7241ddccbb74a4200db9f4 (patch) | |
tree | 2eb10951dd615e5822125cd93bdf5879563567d5 | |
parent | ccdb223f41f8b87fbbc040409534f12e2e6a9e18 (diff) | |
download | pkgsrc-a08ba1caf497c7253f7241ddccbb74a4200db9f4.tar.gz |
Make the usage of hostent POSIX-compliant to compile on Darwin.
-rw-r--r-- | net/aget/distinfo | 4 | ||||
-rw-r--r-- | net/aget/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/net/aget/distinfo b/net/aget/distinfo index 6b5e2a23a3e..e95fb5419be 100644 --- a/net/aget/distinfo +++ b/net/aget/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.3 2006/01/10 19:31:52 joerg Exp $ +$NetBSD: distinfo,v 1.4 2007/06/18 19:00:21 minskim Exp $ SHA1 (aget-0.4.tar.gz) = acd428c919c105401f4b1c19a082c71f470fe9af RMD160 (aget-0.4.tar.gz) = f2a342ee513c9225e6f124ebc35b3d297cdfcb62 Size (aget-0.4.tar.gz) = 11152 bytes SHA1 (patch-aa) = 2c01b67e4b7251927b46442cd9951baa1ec772d3 SHA1 (patch-ab) = 9fd3a4eaf9bfdad2326b7d6f49d9a0baff57ea3a -SHA1 (patch-ac) = 378ce98d93fa0e68a054ad1b20ef1a8999b729b6 +SHA1 (patch-ac) = 09c189a304b3d7fafa6a5f73d62101b6221d724f SHA1 (patch-ad) = 118179ecef613b59d161e8bf8de2133aeed7aac5 diff --git a/net/aget/patches/patch-ac b/net/aget/patches/patch-ac index ff096752136..7e69975178a 100644 --- a/net/aget/patches/patch-ac +++ b/net/aget/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.1 2006/01/10 19:31:52 joerg Exp $ +$NetBSD: patch-ac,v 1.2 2007/06/18 19:00:22 minskim Exp $ ---- Head.c.orig 2006-01-10 19:11:38.000000000 +0000 +--- Head.c.orig 2002-11-21 23:38:03.000000000 -0800 +++ Head.c @@ -1,7 +1,7 @@ @@ -19,3 +19,12 @@ $NetBSD: patch-ac,v 1.1 2006/01/10 19:31:52 joerg Exp $ extern int h_errno; +@@ -55,7 +54,7 @@ void http_head_req(struct request *req) + hstrerror(h_errno)); + exit(1); + } +- strncpy(req->ip, inet_ntoa(*(struct in_addr *)he->h_addr), MAXIPSIZ); ++ strncpy(req->ip, inet_ntoa(*(struct in_addr *)he->h_addr_list[0]), MAXIPSIZ); + + + time(&t_start); |