summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-12-11 14:52:04 +0000
committerobache <obache@pkgsrc.org>2006-12-11 14:52:04 +0000
commit93a0e866d8f61d7f2880aef363cac672f992f27b (patch)
treeea92a1ef0bb18c8b8e98ba492c1609bb7ff1887f /math
parentc53864a95edb0ad536b2bd71527b24d6ddc5dd6c (diff)
downloadpkgsrc-93a0e866d8f61d7f2880aef363cac672f992f27b.tar.gz
Enable to input year up to 2035, fixed PR 32994.
Bump PKGREVISION.
Diffstat (limited to 'math')
-rw-r--r--math/sc/Makefile4
-rw-r--r--math/sc/distinfo4
-rw-r--r--math/sc/patches/patch-ac11
3 files changed, 14 insertions, 5 deletions
diff --git a/math/sc/Makefile b/math/sc/Makefile
index fb66ce8eefd..eebcad37730 100644
--- a/math/sc/Makefile
+++ b/math/sc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/12/10 02:15:15 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2006/12/11 14:52:04 obache Exp $
DISTNAME= sc-6.21
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://gatekeeper.dec.com/pub/misc/
EXTRACT_SUFX= .tar.Z
diff --git a/math/sc/distinfo b/math/sc/distinfo
index 57ff4008d31..083dc0da7f2 100644
--- a/math/sc/distinfo
+++ b/math/sc/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2006/09/29 15:55:26 he Exp $
+$NetBSD: distinfo,v 1.6 2006/12/11 14:52:04 obache 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) = 2d18b5f318fe556b65bc6bf8b3a0a17c495ab5e5
+SHA1 (patch-ac) = 1b3628ae0bf881c8c3e9886210d23d63207f912f
SHA1 (patch-ad) = e579f8e29ebba4d653e83741a829262c2b7d8d2b
diff --git a/math/sc/patches/patch-ac b/math/sc/patches/patch-ac
index 355fc3e34c7..34b27312715 100644
--- a/math/sc/patches/patch-ac
+++ b/math/sc/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.3 2005/11/10 17:23:18 joerg Exp $
+$NetBSD: patch-ac,v 1.4 2006/12/11 14:52:04 obache Exp $
--- interp.c.orig 1992-05-11 18:43:36.000000000 +0000
+++ interp.c
@@ -26,6 +26,15 @@ $NetBSD: patch-ac,v 1.3 2005/11/10 17:23:18 joerg Exp $
register struct tm *tp;
register int i;
register long jdate;
+@@ -484,7 +484,7 @@ int mo, day, yr;
+ mdays[1] = 28 + (yr%4 == 0);
+
+ if (mo < 1 || mo > 12 || day < 1 || day > mdays[--mo] ||
+- yr > 1999 || yr < 1970) {
++ yr > 2035 || yr < 1970) {
+ error("@dts: invalid argument");
+ cellerror = CELLERROR;
+ return(0.0);
@@ -551,15 +551,13 @@ dotime(which, when)
int which;
double when;