$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);
