head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.2 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.5.0.18 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.16 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.14 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.12 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.10 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.6 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.2 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.4.0.6 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.4 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.2 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2008Q4:1.2.0.22 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.20 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.18 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.16 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.14 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.12 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.10 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.8 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.6 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.4 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.1.0.16 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.14 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.12 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.10 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.8 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.6 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.4 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2013.04.17.17.30.14; author drochner; state dead; branches; next 1.5; 1.5 date 2011.01.27.00.00.58; author wiz; state Exp; branches; next 1.4; 1.4 date 2010.05.08.16.11.06; author drochner; state Exp; branches; next 1.3; 1.3 date 2009.09.07.18.25.20; author drochner; state Exp; branches; next 1.2; 1.2 date 2006.09.02.08.58.47; author sekiya; state dead; branches; next 1.1; 1.1 date 2004.07.10.21.06.55; author wiz; state Exp; branches; next ; desc @@ 1.6 log @update to 0.7.1 changes: -build system fix -Allow format specification at top level of dvdauthor control file -mpeg2desc now reports more details about video frames -More explanatory XML-parsing errors @ text @$NetBSD: patch-aa,v 1.5 2011/01/27 00:00:58 wiz Exp $ times(3) argument is not optional. Accepted upstream in https://github.com/ldo/dvdauthor/commit/1c1c707a44fe6959fb9d1b9713ba996f462ffbce --- src/dvdunauthor.c.orig 2010-03-05 04:20:47.000000000 +0000 +++ src/dvdunauthor.c @@@@ -1033,6 +1033,7 @@@@ static void getVobs(dvd_reader_t *dvd, c const cell_adr_t *cells; int numcells,i,j,totalsect,numsect; clock_t start,now,clkpsec; + struct tms unused_tms; cptr = titlef ? ifo->vts_c_adt : ifo->menu_c_adt; if (cptr) @@@@ -1054,7 +1055,7 @@@@ static void getVobs(dvd_reader_t *dvd, c 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(&unused_tms); for (i = 0; i < numcells; i++) { @@@@ -1106,7 +1107,7 @@@@ static void getVobs(dvd_reader_t *dvd, c int rl = cells[i].last_sector + 1 - b; if (rl > BIGBLOCKSECT) rl = BIGBLOCKSECT; - now = times(NULL); + now = times(&unused_tms); if (now-start > 3 * clkpsec && numsect > 0) { const int rmn = (totalsect - numsect) * (now - start) / (numsect * clkpsec); @ 1.5 log @Mention URLs for commits including these patches upstream. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2010/05/08 16:11:06 drochner Exp $ @ 1.4 log @update to 0.6.18 changes: -implement link-subset jumps -implement audio and subpicture content attributes -misc fixes and improvements @ text @d1 5 a5 1 $NetBSD$ @ 1.3 log @fix non-portable times(NULL) invocation which made "dvdunauthor" crash on NetBSD, bump PKGREVISION @ text @d3 1 a3 1 --- src/dvdunauthor.c.orig 2009-09-05 13:45:16.000000000 +0200 d5 2 a6 2 @@@@ -818,6 +818,7 @@@@ static void getVobs( dvd_reader_t *dvd, cell_adr_t *cells; d11 4 a14 4 cptr=titlef?ifo->vts_c_adt:ifo->menu_c_adt; if( cptr ) { @@@@ -836,7 +837,7 @@@@ static void getVobs( dvd_reader_t *dvd, for( i=0; i BIGBLOCKSECT ) rl = BIGBLOCKSECT; - now=times(NULL); + now=times(&unused_tms); 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); @ 1.2 log @Update to dvdauthor-0.6.11. Submitted by Martin Wilke via PR34431. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2004/07/10 21:06:55 wiz Exp $ d3 7 a9 5 --- Makefile.in.orig 2004-01-15 20:42:47.000000000 +0100 +++ Makefile.in @@@@ -9,7 +9,7 @@@@ CC = @@CC@@ CFLAGS = -Wall @@CFLAGS@@ @@XML_CFLAGS@@ @@MAGICK_CFLAGS@@ @@FREETYPE_CFLAGS@@ @@FRIBIDI_CFLAGS@@ -MD # CFLAGS += -g d11 20 a30 5 -BISON=bison +BISON=yacc FLEX=flex CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" @ 1.1 log @Use yacc instead of bison, since that is available on more platforms by default. @ text @d1 1 a1 1 $NetBSD$ @