summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-08 03:24:00 +0000
committertv <tv@pkgsrc.org>2005-11-08 03:24:00 +0000
commitc85768c7fe07ad0a88fb0f1446633767a1ca6aff (patch)
tree036df514c2c8a5cfd329dc80856376bcf70e6e0b /misc
parent9c4ca81985d8fde73a36d44701bf055d11349aed (diff)
downloadpkgsrc-c85768c7fe07ad0a88fb0f1446633767a1ca6aff.tar.gz
Use HUGE_VAL for INFINITY if it is available.
Diffstat (limited to 'misc')
-rw-r--r--misc/firelib/distinfo4
-rw-r--r--misc/firelib/patches/patch-aa12
2 files changed, 10 insertions, 6 deletions
diff --git a/misc/firelib/distinfo b/misc/firelib/distinfo
index 76cc93e1ad5..157b33f280d 100644
--- a/misc/firelib/distinfo
+++ b/misc/firelib/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/05/25 12:46:21 wiz Exp $
+$NetBSD: distinfo,v 1.3 2005/11/08 03:24:00 tv Exp $
SHA1 (firelib-1.0.1.tar.gz) = 8505fb114b0be77df65a6dfa0364a27341ddf676
RMD160 (firelib-1.0.1.tar.gz) = 304ac8e145e836d3a3cd1f44690c7f84cdd7e42a
Size (firelib-1.0.1.tar.gz) = 73951 bytes
-SHA1 (patch-aa) = accef2da64bff40d0637113390eca835d09f1462
+SHA1 (patch-aa) = 63d3f8e5a78d9aef4f7ec3c05f811bd17ba73a9c
SHA1 (patch-ab) = e67c47f0a057160c3655159a11c75285c89ceee9
diff --git a/misc/firelib/patches/patch-aa b/misc/firelib/patches/patch-aa
index c1b10a708ca..e62d0f8583f 100644
--- a/misc/firelib/patches/patch-aa
+++ b/misc/firelib/patches/patch-aa
@@ -1,14 +1,18 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/05/19 13:03:56 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2005/11/08 03:24:00 tv Exp $
---- fireSim.c.orig 2004-08-27 10:34:54.000000000 -0600
+--- fireSim.c.orig 1996-10-02 17:05:32.000000000 -0400
+++ fireSim.c
-@@ -29,7 +29,9 @@
+@@ -29,7 +29,13 @@
#include "fireLib.h"
-+#ifndef _MATH_H_
++#ifndef INFINITY
++#ifdef HUGE_VAL
++#define INFINITY HUGE_VAL
++#else
#define INFINITY 999999999. /* or close enough */
+#endif
++#endif
/* NOTE 1: Change these to modify map size & resolution. */
static int Rows = 101; /* Number of rows in each map. */