pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/aget Make the usage of hostent POSIX-compliant to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77e396653098
branches:  trunk
changeset: 530204:77e396653098
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jun 18 19:00:21 2007 +0000

description:
Make the usage of hostent POSIX-compliant to compile on Darwin.

diffstat:

 net/aget/distinfo         |   4 ++--
 net/aget/patches/patch-ac |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r ca341addc924 -r 77e396653098 net/aget/distinfo
--- a/net/aget/distinfo Mon Jun 18 17:58:35 2007 +0000
+++ b/net/aget/distinfo Mon Jun 18 19:00:21 2007 +0000
@@ -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 -r ca341addc924 -r 77e396653098 net/aget/patches/patch-ac
--- a/net/aget/patches/patch-ac Mon Jun 18 17:58:35 2007 +0000
+++ b/net/aget/patches/patch-ac Mon Jun 18 19:00:21 2007 +0000
@@ -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 @@
  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);



Home | Main Index | Thread Index | Old Index