diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-10 17:23:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-10 17:23:17 +0000 |
commit | 06e54c043c7e279a61023a0f04005213a8d6b255 (patch) | |
tree | a6ae7364e93eaeee696c6e2b9aadbca1b4d66df7 /math/sc | |
parent | 8782fe7b0b738487ec1980558d095ce5a9881a3f (diff) | |
download | pkgsrc-06e54c043c7e279a61023a0f04005213a8d6b255.tar.gz |
Use errno from errno.h, don't define it manually. Fix a case
where errno.h was not included at all.
Diffstat (limited to 'math/sc')
-rw-r--r-- | math/sc/distinfo | 5 | ||||
-rw-r--r-- | math/sc/patches/patch-ac | 25 | ||||
-rw-r--r-- | math/sc/patches/patch-ad | 13 |
3 files changed, 36 insertions, 7 deletions
diff --git a/math/sc/distinfo b/math/sc/distinfo index 3010ef8a099..975cb573371 100644 --- a/math/sc/distinfo +++ b/math/sc/distinfo @@ -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 --git a/math/sc/patches/patch-ac b/math/sc/patches/patch-ac index fbd1ebe6f76..355fc3e34c7 100644 --- a/math/sc/patches/patch-ac +++ b/math/sc/patches/patch-ac @@ -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 @@ $NetBSD: patch-ac,v 1.2 2000/01/12 20:30:42 wiz Exp $ 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 --git a/math/sc/patches/patch-ad b/math/sc/patches/patch-ad new file mode 100644 index 00000000000..52f5a68bb04 --- /dev/null +++ b/math/sc/patches/patch-ad @@ -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; + |