From fcd0dd8b39b22b3dcd9910ec9eb51708f5d5a351 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sun, 11 Aug 2002 14:34:16 +0000 Subject: netbsd uses time_t not int for the time functions. Fixes compilation on 64 bit systems. --- graphics/gri/distinfo | 3 ++- graphics/gri/patches/patch-af | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 graphics/gri/patches/patch-af (limited to 'graphics/gri') diff --git a/graphics/gri/distinfo b/graphics/gri/distinfo index 2fa5fef3caa..9d918d5113f 100644 --- a/graphics/gri/distinfo +++ b/graphics/gri/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/05/03 23:45:14 jtb Exp $ +$NetBSD: distinfo,v 1.2 2002/08/11 14:34:16 dmcmahill Exp $ SHA1 (gri-2.8.7.tgz) = 2d28f1c398e96d4ff7e34746027ce42bb5f2881a Size (gri-2.8.7.tgz) = 1173929 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = f66fb1084bcd65544b63db43b4e2ecc34ddbd7c7 SHA1 (patch-ac) = b5be8b3b2d9c2ff2ea04fe84cbb2b0d8eea1e164 SHA1 (patch-ad) = ebcc1fdbc4fe52cdcb0f5788acaa637174be4550 SHA1 (patch-ae) = b796adf6b5532e64aa105f8cef6afabfc5a15fa5 +SHA1 (patch-af) = aee92b408a7fb6c1ff88fcf29570781ce78d65e6 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) -- cgit v1.2.3