Date: Tue, 10 Mar 2009 11:11:50 GMT From: Ganael Laplanche <ganael.laplanche@martymac.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132494: port fix: archivers/par2cmdline - Fix offset update in quiet mode Message-ID: <200903101111.n2ABBouG059655@www.freebsd.org> Resent-Message-ID: <200903101120.n2ABK0eo084514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101111.n2ABBouG059655>