summaryrefslogtreecommitdiff
path: root/graphics/gri/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-08-11 14:34:16 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-08-11 14:34:16 +0000
commit89ec0a1c17b564883c2657b21b4b255843c760fe (patch)
tree682e02450b89192d662b487e3cc0aff8830bfe52 /graphics/gri/patches
parent09e14711c64b9f7a3c43af9351753f1ee2068223 (diff)
downloadpkgsrc-89ec0a1c17b564883c2657b21b4b255843c760fe.tar.gz
netbsd uses time_t not int for the time functions. Fixes compilation on
64 bit systems.
Diffstat (limited to 'graphics/gri/patches')
-rw-r--r--graphics/gri/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/gri/patches/patch-af b/graphics/gri/patches/patch-af
new file mode 100644
index 00000000000..36b3e402362
--- /dev/null
+++ b/graphics/gri/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2002/08/11 14:34:16 dmcmahill Exp $
+
+--- gr.hh.orig Wed Apr 3 14:09:30 2002
++++ gr.hh
+@@ -341,7 +341,7 @@ double lapse_rate(double S, double t, do
+ #endif
+
+ // Time type (time_t, int, or long) varies per machine (ug).
+-#if defined(VMS) || defined(MSDOS) || defined(IS_DEC_ALPHA) || defined(AIX)
++#if defined(VMS) || defined(MSDOS) || defined(IS_DEC_ALPHA) || defined(AIX) || defined(__NetBSD__)
+ #define SECOND_TYPE time_t
+ #else
+ #if defined(__DECCXX)