update nepim to 0.36

This commit is contained in:
jasper 2007-01-11 17:44:18 +00:00
parent d67751f245
commit 0ae3599b90
4 changed files with 7 additions and 27 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2006/08/03 23:15:58 espie Exp $
# $OpenBSD: Makefile,v 1.4 2007/01/11 17:44:18 jasper Exp $
COMMENT= "network pipe meter"
DISTNAME= nepim-0.32
PKGNAME= ${DISTNAME}p0
DISTNAME= nepim-0.36
CATEGORIES= net sysutils
HOMEPAGE= http://www.nongnu.org/nepim/

View File

@ -1,4 +1,4 @@
MD5 (nepim-0.32.tar.gz) = 4034cdae4ddbba6890f57fbf2b8db188
RMD160 (nepim-0.32.tar.gz) = 688a4598e59cbe88275aec4342bd70dc303db7e5
SHA1 (nepim-0.32.tar.gz) = a82c2a560e07b239147cc91bc2da47194cb1e72d
SIZE (nepim-0.32.tar.gz) = 61398
MD5 (nepim-0.36.tar.gz) = bd5becde20fd4dbc955cecb43f70fd2d
RMD160 (nepim-0.36.tar.gz) = cff1a0e00b19710769ade7c5c4faa610e2ec22e8
SHA1 (nepim-0.36.tar.gz) = e34b8f46194796cd0589e34f815044ec14c90ace
SIZE (nepim-0.36.tar.gz) = 62143

View File

@ -1,3 +1,4 @@
$OpenBSD: patch-Makefile,v 1.2 2007/01/11 17:44:18 jasper Exp $
--- src/Makefile.orig Sat Jun 17 13:38:19 2006
+++ src/Makefile Sat Jun 17 13:39:50 2006
@@ -28,17 +28,14 @@

View File

@ -1,20 +0,0 @@
--- src/common.c.orig Sat Jun 17 13:37:04 2006
+++ src/common.c Sat Jun 17 13:37:34 2006
@@ -407,7 +407,7 @@
int *addr_len)
{
int size = addr_list_size(list);
- int i;
+ int i, result;
for (i = 0; i < size; ++i) {
char hostname[100];
@@ -435,7 +435,7 @@
hints.ai_flags = AI_CANONNAME;
hints.ai_family = PF_UNSPEC;
- int result = getaddrinfo(hostname, portname,
+ result = getaddrinfo(hostname, portname,
&hints, &ai_res);
if (result) {
fprintf(stderr, "%s %s: getaddrinfo(%s,%s): %s\n",