pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/firelib Use HUGE_VAL for INFINITY if it is availa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0702c2eadbcd
branches: trunk
changeset: 502665:0702c2eadbcd
user: tv <tv%pkgsrc.org@localhost>
date: Tue Nov 08 03:24:00 2005 +0000
description:
Use HUGE_VAL for INFINITY if it is available.
diffstat:
misc/firelib/distinfo | 4 ++--
misc/firelib/patches/patch-aa | 12 ++++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r aabedadb5133 -r 0702c2eadbcd misc/firelib/distinfo
--- a/misc/firelib/distinfo Tue Nov 08 03:06:06 2005 +0000
+++ b/misc/firelib/distinfo Tue Nov 08 03:24:00 2005 +0000
@@ -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 -r aabedadb5133 -r 0702c2eadbcd misc/firelib/patches/patch-aa
--- a/misc/firelib/patches/patch-aa Tue Nov 08 03:06:06 2005 +0000
+++ b/misc/firelib/patches/patch-aa Tue Nov 08 03:24:00 2005 +0000
@@ -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. */
Home |
Main Index |
Thread Index |
Old Index