mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- 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 PR: ports/132494 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
This commit is contained in:
parent
01121a2c88
commit
dbbdd062c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230150
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= par2cmdline
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= parchive
|
||||
@ -25,7 +25,7 @@ PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
13
archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp
Normal file
13
archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user