summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-04-19 10:45:19 +0000
committerwiz <wiz@pkgsrc.org>2005-04-19 10:45:19 +0000
commit13b58306b515c56c95daaf0ec209105fed68ba90 (patch)
tree06af808be83a04e8bc49724261410e3bfbb2ba47 /biology
parentdbea9217ba17637a3ee983c2527dc3e0fb463ac7 (diff)
downloadpkgsrc-13b58306b515c56c95daaf0ec209105fed68ba90.tar.gz
Update to 10.18. Should fix PR 27404.
10.18: This release contains a fix for the floating point exception on NetBSD-2.0/alpha. 10.17: This release corrects the formatting of the man page and restores the correct alpha-linolenic acid reference value, which was too low in the last release. 10.16: This release fixes a segfault that occurs when analyzing added and subtracted foods that total zero calories. 10.15: This release completes the changing of all calculations to substitute user averages for program constants in the values of calories per gram of carb, fat, and protein, and of the percentage of total fat that is fatty acids. This means that personal options in terms of percentages and ratios will be more precise.
Diffstat (limited to 'biology')
-rw-r--r--biology/nut/Makefile4
-rw-r--r--biology/nut/distinfo12
-rw-r--r--biology/nut/patches/patch-ab8
-rw-r--r--biology/nut/patches/patch-ac8
4 files changed, 16 insertions, 16 deletions
diff --git a/biology/nut/Makefile b/biology/nut/Makefile
index a0a83f3678a..09750309a5f 100644
--- a/biology/nut/Makefile
+++ b/biology/nut/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:45:01 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/04/19 10:45:19 wiz Exp $
-DISTNAME= nut-10.14
+DISTNAME= nut-10.18
CATEGORIES= biology
MASTER_SITES= http://www.lafn.org/~av832/
EXTRACT_SUFX= .tar.bz2
diff --git a/biology/nut/distinfo b/biology/nut/distinfo
index 5d57e135f28..93d3d899a8c 100644
--- a/biology/nut/distinfo
+++ b/biology/nut/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2005/02/22 21:28:55 agc Exp $
+$NetBSD: distinfo,v 1.14 2005/04/19 10:45:19 wiz Exp $
-SHA1 (nut-10.14.tar.bz2) = 1682ae780e91192df77a8dc25e7260210807320d
-RMD160 (nut-10.14.tar.bz2) = 323f652f312a839c8404ee901abc13df8b599a44
-Size (nut-10.14.tar.bz2) = 814888 bytes
-SHA1 (patch-ab) = 1ce697145adea9501e3818798c10a42486d7c5d2
-SHA1 (patch-ac) = 525d65d517f637ed908d1df95672d34713dcf2bd
+SHA1 (nut-10.18.tar.bz2) = b136a1842858016430bc59831ea02869ce221479
+RMD160 (nut-10.18.tar.bz2) = dce992a2b635f63f7f971d505ea4bff6a8d9b46d
+Size (nut-10.18.tar.bz2) = 815615 bytes
+SHA1 (patch-ab) = 53e11acf560f0ecc457c249d6c2e564ae38af9bb
+SHA1 (patch-ac) = 01862c0437c26787667b78124858b90b75b98e94
diff --git a/biology/nut/patches/patch-ab b/biology/nut/patches/patch-ab
index 9f74297b125..e7e9688cd43 100644
--- a/biology/nut/patches/patch-ab
+++ b/biology/nut/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2004/08/15 12:06:34 wiz Exp $
+$NetBSD: patch-ab,v 1.6 2005/04/19 10:45:19 wiz Exp $
---- db.c.orig 2004-08-07 05:03:16.000000000 +0200
+--- db.c.orig 2005-04-16 18:08:41.000000000 +0200
+++ db.c
-@@ -29,6 +29,7 @@
+@@ -28,6 +28,7 @@
#include <string.h>
#include <sys/stat.h>
#include <ctype.h>
@@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.5 2004/08/15 12:06:34 wiz Exp $
#ifndef NUTDIR
char nutdir1[]=".nutdb";
-@@ -739,9 +740,22 @@ strcpy(subuser,sub);
+@@ -881,9 +882,22 @@ strcpy(subuser,sub);
sprintf(versionfile,"%s/%s/%s","NUTDB",subuser,versionfile1);
#else
sprintf(nutdir,"%s/%s",getenv("HOME"),nutdir1);
diff --git a/biology/nut/patches/patch-ac b/biology/nut/patches/patch-ac
index a27b33242a7..8bae1d75596 100644
--- a/biology/nut/patches/patch-ac
+++ b/biology/nut/patches/patch-ac
@@ -1,12 +1,12 @@
-$NetBSD: patch-ac,v 1.2 2003/07/12 12:23:13 wiz Exp $
+$NetBSD: patch-ac,v 1.3 2005/04/19 10:45:19 wiz Exp $
---- Makefile.orig Mon May 12 22:15:17 2003
+--- Makefile.orig 2005-04-17 23:44:02.000000000 +0200
+++ Makefile
@@ -1,6 +1,6 @@
objects := $(patsubst %.c,%.o,$(wildcard *.c))
--CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\"
-+CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"${PREFIX}/share/nut\"
+-CFLAGS= -O3 -Wall -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\" -ansi -pedantic -fno-strict-aliasing
++CFLAGS= -Wall -DNUTDIR=\".nutdb\" -DFOODDIR=\"${PREFIX}/share/nut\" -ansi -pedantic -fno-strict-aliasing
nut: $(objects)
gcc ${CFLAGS} -lm -o nut $(objects)