pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/sc Use errno from errno.h, don't define it manual...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d00c3762ffee
branches: trunk
changeset: 502903:d00c3762ffee
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Nov 10 17:23:17 2005 +0000
description:
Use errno from errno.h, don't define it manually. Fix a case
where errno.h was not included at all.
diffstat:
math/sc/distinfo | 5 +++--
math/sc/patches/patch-ac | 25 ++++++++++++++++++++-----
math/sc/patches/patch-ad | 13 +++++++++++++
3 files changed, 36 insertions(+), 7 deletions(-)
diffs (72 lines):
diff -r ca23e5229857 -r d00c3762ffee math/sc/distinfo
--- a/math/sc/distinfo Thu Nov 10 16:49:28 2005 +0000
+++ b/math/sc/distinfo Thu Nov 10 17:23:17 2005 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 12:06:58 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/11/10 17:23:17 joerg Exp $
SHA1 (sc-6.21.tar.Z) = 80d8972bcd1b5adcbc00345b6866954603dadf31
RMD160 (sc-6.21.tar.Z) = 24abfaea2e5ef644394efd5e13ad1850280abbd6
Size (sc-6.21.tar.Z) = 180360 bytes
SHA1 (patch-aa) = d9092f0d2b996f2e9b89b708bc59d3bcffe8f18a
SHA1 (patch-ab) = 2055f81bbabaa2752ed6dc18ce66ca857b9654f4
-SHA1 (patch-ac) = 0bad09044cecf55139d2a709b6f35dc2b90b8fcc
+SHA1 (patch-ac) = 2d18b5f318fe556b65bc6bf8b3a0a17c495ab5e5
+SHA1 (patch-ad) = cf0585a0616874d318d46d1a30af146f48a85e51
diff -r ca23e5229857 -r d00c3762ffee math/sc/patches/patch-ac
--- a/math/sc/patches/patch-ac Thu Nov 10 16:49:28 2005 +0000
+++ b/math/sc/patches/patch-ac Thu Nov 10 17:23:17 2005 +0000
@@ -1,8 +1,23 @@
-$NetBSD: patch-ac,v 1.2 2000/01/12 20:30:42 wiz Exp $
+$NetBSD: patch-ac,v 1.3 2005/11/10 17:23:18 joerg Exp $
---- interp.c.orig Mon May 11 13:43:36 1992
-+++ interp.c Tue Apr 20 18:55:25 1999
-@@ -476,7 +476,7 @@
+--- interp.c.orig 1992-05-11 18:43:36.000000000 +0000
++++ interp.c
+@@ -21,13 +21,13 @@
+ #include <ieeefp.h>
+ #endif /* IEEE_MATH */
+
++#include <errno.h>
+ #include <math.h>
+ #include <signal.h>
+ #include <setjmp.h>
+ #include <stdio.h>
+ #include <ctype.h>
+
+-extern int errno; /* set by math functions */
+ #ifdef BSD42
+ #include <strings.h>
+ #include <sys/time.h>
+@@ -476,7 +476,7 @@ double
dodts(mo, day, yr)
int mo, day, yr;
{
@@ -11,7 +26,7 @@
register struct tm *tp;
register int i;
register long jdate;
-@@ -551,15 +551,13 @@
+@@ -551,15 +551,13 @@ dotime(which, when)
int which;
double when;
{
diff -r ca23e5229857 -r d00c3762ffee math/sc/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/sc/patches/patch-ad Thu Nov 10 17:23:17 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/11/10 17:23:18 joerg Exp $
+
+--- cmds.c.orig 2005-11-10 17:17:35.000000000 +0000
++++ cmds.c
+@@ -39,8 +39,6 @@ void openrow();
+ void syncref();
+ void unspecial();
+
+-extern int errno;
+-
+ /* a linked list of free [struct ent]'s, uses .next as the pointer */
+ extern struct ent *freeents;
+
Home |
Main Index |
Thread Index |
Old Index