From 28fc43ca1248b8ebd2b3ca70151d5375a59b6a3c Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sat, 15 Mar 2003 12:24:22 +0000 Subject: use a time_t * as the argument to time(3) to let this compile on 64 bit systems. Fixes recently noted compile problems on alpha. --- graphics/aqsis/distinfo | 3 ++- graphics/aqsis/patches/patch-af | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 graphics/aqsis/patches/patch-af diff --git a/graphics/aqsis/distinfo b/graphics/aqsis/distinfo index 2344c11acda..b3422c9beaa 100644 --- a/graphics/aqsis/distinfo +++ b/graphics/aqsis/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/10/28 15:12:36 agc Exp $ +$NetBSD: distinfo,v 1.2 2003/03/15 12:24:22 dmcmahill Exp $ SHA1 (aqsis-0.6.4.tar.gz) = 7a8e10db5502907840d8d2f4269eb3b489875dd4 Size (aqsis-0.6.4.tar.gz) = 857020 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 2f0f878996aa551a35c65d90299162e13661cbab SHA1 (patch-ac) = 5633148c8f7617ddef0e8831bd003dc9cb3f3596 SHA1 (patch-ad) = d5dc010175fc749268075e391fcb9fd5ff0ae6b9 SHA1 (patch-ae) = d2ce4d8833a0ea27aaa6242c476fe542efe92574 +SHA1 (patch-af) = 5251aedf37fd4ab8e954d90e484d82bdcf0a8e45 diff --git a/graphics/aqsis/patches/patch-af b/graphics/aqsis/patches/patch-af new file mode 100644 index 00000000000..a1f941d95a6 --- /dev/null +++ b/graphics/aqsis/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2003/03/15 12:24:22 dmcmahill Exp $ + +--- aqsis/aqsis.cpp.orig Wed May 8 12:01:31 2002 ++++ aqsis/aqsis.cpp Fri Mar 14 21:22:49 2003 +@@ -67,6 +67,6 @@ + RtVoid PrintProgress( RtFloat percent ) + { +-static long tick=0; +-long now; ++static time_t tick=0; ++time_t now; + + if (tick == 0) -- cgit v1.2.3