From owner-freebsd-ports-bugs@FreeBSD.ORG  Mon Jan  2 17:40:09 2012
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BCDC8106564A
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon,  2 Jan 2012 17:40:09 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 998568FC21
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon,  2 Jan 2012 17:40:09 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q02He9Je073203
	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Mon, 2 Jan 2012 17:40:09 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q02He9q6073202;
	Mon, 2 Jan 2012 17:40:09 GMT (envelope-from gnats)
Resent-Date: Mon, 2 Jan 2012 17:40:09 GMT
Resent-Message-Id: <201201021740.q02He9q6073202@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
	Dmitriy Limonov <earl1k@mail.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7EA57106567A
	for <freebsd-gnats-submit@FreeBSD.org>;
	Mon,  2 Jan 2012 17:32:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 6E21B8FC17
	for <freebsd-gnats-submit@FreeBSD.org>;
	Mon,  2 Jan 2012 17:32:10 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q02HW9os072243
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 2 Jan 2012 17:32:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q02HW9g1072242;
	Mon, 2 Jan 2012 17:32:09 GMT (envelope-from nobody)
Message-Id: <201201021732.q02HW9g1072242@red.freebsd.org>
Date: Mon, 2 Jan 2012 17:32:09 GMT
From: Dmitriy Limonov <earl1k@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Cc: 
Subject: ports/163785: [Update] net-p2p/ncdc to 1.7
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jan 2012 17:40:09 -0000


>Number:         163785
>Category:       ports
>Synopsis:       [Update] net-p2p/ncdc to 1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 17:40:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy Limonov
>Release:        FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
>Environment:
FreeBSD excluzive.ws 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #0: Sun Dec 25 09:12:20 MSK 2011 earl@excluzive.ws:/usr/obj/usr/src/sys/EXCLUZIVE amd64
>Description:
Update ncdc to version 1.7
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur ncdc.orig/Makefile ncdc/Makefile
--- ncdc.orig/Makefile	2011-12-26 21:37:42.000000000 +0400
+++ ncdc/Makefile	2012-01-02 21:18:49.050985521 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ncdc
-PORTVERSION=	1.6
+PORTVERSION=	1.7
 CATEGORIES=	net-p2p
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://dev.yorhel.nl/download/
@@ -33,15 +33,17 @@
 
 .include <bsd.port.options.mk>
 
+pre-patch:
+	@${REINPLACE_CMD} \
+		-e 's/\(GRegex \*nand\[fl_.*\)\]/\1+1]/' \
+		${WRKSRC}/src/fl_util.c
+
 .if defined(WITH_GDBM)
 LIB_DEPENDS+=	gdbm:${PORTSDIR}/databases/gdbm
 PLIST_FILES+=	bin/ncdc-db-upgrade
 .else
 post-patch:
 	@${REINPLACE_CMD} \
-		-e '/#include <gdbm.h>/d' \
-		${WRKSRC}/src/fl_local.c
-	@${REINPLACE_CMD} \
 		-e '/have_gdbm=yes/d' \
 		${WRKSRC}/configure
 .endif
diff -Naur ncdc.orig/distinfo ncdc/distinfo
--- ncdc.orig/distinfo	2011-12-26 21:37:42.000000000 +0400
+++ ncdc/distinfo	2012-01-02 20:54:24.826056070 +0400
@@ -1,2 +1,2 @@
-SHA256 (ncdc-1.6.tar.gz) = 13d898455c5892364ff0769be76cc5fb188a801b08ba3a646e0ecf217db6ddfc
-SIZE (ncdc-1.6.tar.gz) = 304918
+SHA256 (ncdc-1.7.tar.gz) = 5198a88d797bcd246e9d33080b9e07ce747fd14e5146902175055676b6d8145f
+SIZE (ncdc-1.7.tar.gz) = 309915


>Release-Note:
>Audit-Trail:
>Unformatted: