From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 10 11:20:01 2009 Return-Path: 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 348291065674 for ; Tue, 10 Mar 2009 11:20:01 +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 0EF1D8FC27 for ; Tue, 10 Mar 2009 11:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2ABK0JA084515 for ; Tue, 10 Mar 2009 11:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2ABK0eo084514; Tue, 10 Mar 2009 11:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 10 Mar 2009 11:20:00 GMT Resent-Message-Id: <200903101120.n2ABK0eo084514@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, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9014A1065670 for ; Tue, 10 Mar 2009 11:11:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7DC158FC0C for ; Tue, 10 Mar 2009 11:11:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2ABBoqN059657 for ; Tue, 10 Mar 2009 11:11:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2ABBouG059655; Tue, 10 Mar 2009 11:11:50 GMT (envelope-from nobody) Message-Id: <200903101111.n2ABBouG059655@www.freebsd.org> Date: Tue, 10 Mar 2009 11:11:50 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132494: port fix: archivers/par2cmdline - Fix offset update in quiet mode X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 11:20:01 -0000 >Number: 132494 >Category: ports >Synopsis: port fix: archivers/par2cmdline - Fix offset update in quiet mode >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: Tue Mar 10 11:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ganael Laplanche >Release: 8.0-CURRENT >Organization: http://contribs.martymac.com >Environment: FreeBSD home.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #36: Sun Mar 1 19:23:00 CET 2009 martymac@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: This patch fixes a missed offset update when using quiet mode with par2create. This bug has been referenced here : http://sourceforge.net/tracker/index.php?func=detail&aid=1802742&group_id=30568&atid=399698 http://sourceforge.net/tracker/index.php?func=detail&aid=1085638&group_id=30568&atid=399698 And here on Debian : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299658 Reported by: Nicolas Rachinsky (thanks to him :)) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -aurN par2cmdline.orig/Makefile par2cmdline/Makefile --- par2cmdline.orig/Makefile 2009-03-10 07:06:19.791686373 +0000 +++ par2cmdline/Makefile 2009-03-10 07:14:15.615040458 +0000 @@ -7,7 +7,7 @@ PORTNAME= par2cmdline PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= parchive diff -aurN par2cmdline.orig/files/patch-par2creatorsourcefile.cpp par2cmdline/files/patch-par2creatorsourcefile.cpp --- par2cmdline.orig/files/patch-par2creatorsourcefile.cpp 1970-01-01 00:00:00.000000000 +0000 +++ par2cmdline/files/patch-par2creatorsourcefile.cpp 2009-03-10 07:13:58.985379985 +0000 @@ -0,0 +1,13 @@ +--- par2creatorsourcefile.cpp.orig 2009-03-10 07:10:35.860499029 +0000 ++++ par2creatorsourcefile.cpp 2009-03-10 07:12:53.111712521 +0000 +@@ -224,6 +224,10 @@ + cout << newfraction/10 << '.' << newfraction%10 << "%\r" << flush; + } + } ++ else ++ { ++ offset += want; ++ } + } + + // Did we finish the last block >Release-Note: >Audit-Trail: >Unformatted: