diff options
author | dmcmahill <dmcmahill> | 2002-08-11 14:34:16 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-08-11 14:34:16 +0000 |
commit | fe7bee07eb97549bb04d635e66233ae90d93872f (patch) | |
tree | 682e02450b89192d662b487e3cc0aff8830bfe52 /graphics | |
parent | 8d4316ed5be172ac7cf4cfa0c85fb5032d9785db (diff) | |
download | pkgsrc-fe7bee07eb97549bb04d635e66233ae90d93872f.tar.gz |
netbsd uses time_t not int for the time functions. Fixes compilation on
64 bit systems.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gri/distinfo | 3 | ||||
-rw-r--r-- | graphics/gri/patches/patch-af | 13 |
2 files changed, 15 insertions, 1 deletions
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) |