mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Update to 0.6.14.
This commit is contained in:
parent
fc414c3662
commit
9e7be81fc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191792
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= dvdauthor
|
||||
PORTVERSION= 0.6.11
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.6.14
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -23,7 +22,8 @@ USE_GETOPT_LONG=yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
MAN1= dvdauthor.1 spumux.1
|
||||
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
|
||||
MAN1= dvdauthor.1 dvddirdel.1 dvdunauthor.1 mpeg2desc.1 spumux.1 spuunmux.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (dvdauthor-0.6.11.tar.gz) = d2c45879e4cfb95d410bf603af891e07
|
||||
SHA256 (dvdauthor-0.6.11.tar.gz) = 253415ec75fe6dc5a9bc8da1f7291ba5ab42906729c2381fb42eae1dff46c575
|
||||
SIZE (dvdauthor-0.6.11.tar.gz) = 288452
|
||||
MD5 (dvdauthor-0.6.14.tar.gz) = bd646b47950c4091ffd781d43fd2c5e9
|
||||
SHA256 (dvdauthor-0.6.14.tar.gz) = dd1b1512f3ed64938d40541b1f5aff6682898782469992d8caa81e2587a48ef4
|
||||
SIZE (dvdauthor-0.6.14.tar.gz) = 319371
|
||||
|
28
multimedia/dvdauthor/files/patch-src__dvdunauthor.c
Normal file
28
multimedia/dvdauthor/files/patch-src__dvdunauthor.c
Normal file
@ -0,0 +1,28 @@
|
||||
--- src/dvdunauthor.c.orig Thu Jun 1 06:03:24 2006
|
||||
+++ src/dvdunauthor.c Sat May 5 20:59:53 2007
|
||||
@@ -818,6 +818,7 @@
|
||||
cell_adr_t *cells;
|
||||
int numcells,i,j,totalsect,numsect;
|
||||
clock_t start,now,clkpsec;
|
||||
+ struct tms tp;
|
||||
|
||||
cptr=titlef?ifo->vts_c_adt:ifo->menu_c_adt;
|
||||
if( cptr ) {
|
||||
@@ -836,7 +837,7 @@
|
||||
for( i=0; i<numcells; i++ )
|
||||
totalsect += cells[i].last_sector - cells[i].start_sector + 1;
|
||||
clkpsec=sysconf(_SC_CLK_TCK);
|
||||
- start=times(NULL);
|
||||
+ start=times(&tp);
|
||||
|
||||
for( i=0; i<numcells; i++ ) {
|
||||
int h,b,plen;
|
||||
@@ -874,7 +875,7 @@
|
||||
for( b=cells[i].start_sector; b<=cells[i].last_sector; b+=BIGBLOCKSECT ) {
|
||||
int rl=cells[i].last_sector+1-b;
|
||||
if( rl > BIGBLOCKSECT ) rl = BIGBLOCKSECT;
|
||||
- now=times(NULL);
|
||||
+ now=times(&tp);
|
||||
if( now-start>3*clkpsec && numsect>0 ) {
|
||||
int rmn=(totalsect-numsect)*(now-start)/(numsect*clkpsec);
|
||||
fprintf(stderr,"STAT: [%d] VOB %d, Cell %d (%d%%, %d:%02d remain)\r",i,cells[i].vob_id,cells[i].cell_id,(numsect*100+totalsect/2)/totalsect,rmn/60,rmn%60);
|
Loading…
Reference in New Issue
Block a user