diff options
author | jtb <jtb@pkgsrc.org> | 2002-06-27 03:50:47 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2002-06-27 03:50:47 +0000 |
commit | 1e851074a4f9e0ee4e7123b0f2321713916c1c16 (patch) | |
tree | d73fb11ef402e8aedb1d719c30b0050e0641e069 | |
parent | 5a48f1420d892b311ff7bec0f23a8fada3522f33 (diff) | |
download | pkgsrc-1e851074a4f9e0ee4e7123b0f2321713916c1c16.tar.gz |
Fix mistake in last commit.
-rw-r--r-- | math/euler/distinfo | 2 | ||||
-rw-r--r-- | math/euler/patches/patch-aa | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/math/euler/distinfo b/math/euler/distinfo index cd954a3f543..6e0bcfb348a 100644 --- a/math/euler/distinfo +++ b/math/euler/distinfo @@ -2,6 +2,6 @@ SHA1 (euler-1.60.2.tar.gz) = 5cc5701639aa220b8108b4c5691c79de8ca5f235 Size (euler-1.60.2.tar.gz) = 640913 bytes -SHA1 (patch-aa) = b82ab6f50592ed9d7c83d33c92f6d7fd9723cac2 +SHA1 (patch-aa) = 1d926a52a67b509ef41a182e8b774c6791fd9a78 SHA1 (patch-ab) = 672014ec88ec5b6be7f6d5297136aa86733deb61 SHA1 (patch-ac) = d9f17e01176fe1ce9784c8df3a0dfb4070e75612 diff --git a/math/euler/patches/patch-aa b/math/euler/patches/patch-aa index 4dce05fe2bf..961d1c5a263 100644 --- a/math/euler/patches/patch-aa +++ b/math/euler/patches/patch-aa @@ -1,17 +1,19 @@ -$NetBSD: patch-aa,v 1.2 2002/06/27 00:35:31 jtb Exp $ +$NetBSD: patch-aa,v 1.3 2002/06/27 03:50:48 jtb Exp $ --- main.c.orig Wed Feb 20 08:59:59 2002 -+++ main.c Thu Apr 25 10:42:10 2002 -@@ -389,7 +389,7 @@ ++++ main.c +@@ -389,7 +389,9 @@ gettimer(TIMEOFDAY,&t); return (t.tv_sec+t.tv_nsec/1000000000.0); #else - return ((double)(times(NULL)))/CLK_TCK; -+ return ((double)(times()))/CLK_TCK; ++ struct tms t; ++ times(&t); ++ return (double)(t.tms_utime+t.tms_stime)/CLK_TCK; #endif } -@@ -1308,7 +1308,7 @@ +@@ -1308,7 +1310,7 @@ break; case E_DOC: { char *browser; |