summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2009-05-04 16:43:44 +0000
committerwiz <wiz>2009-05-04 16:43:44 +0000
commit5ec05844e68e9a612c19e6482aa40620ac6b0771 (patch)
treecbdb99cdfbb0c4a2c65009e393afd4034b7d57db
parentbdd028a72d48dee18df165cc2017fb4b0f7dd2ab (diff)
downloadpkgsrc-5ec05844e68e9a612c19e6482aa40620ac6b0771.tar.gz
Use time_t to fix output on i386. From Gergely Gábor in private mail.
Bump PKGREVISION.
-rw-r--r--time/wmCalClock/Makefile4
-rw-r--r--time/wmCalClock/distinfo3
-rw-r--r--time/wmCalClock/patches/patch-ab13
3 files changed, 17 insertions, 3 deletions
diff --git a/time/wmCalClock/Makefile b/time/wmCalClock/Makefile
index cd011b9f895..594e832054e 100644
--- a/time/wmCalClock/Makefile
+++ b/time/wmCalClock/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2009/05/02 16:21:45 reed Exp $
+# $NetBSD: Makefile,v 1.3 2009/05/04 16:43:44 wiz Exp $
#
DISTNAME= wmCalClock-1.25
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 time
MASTER_SITES= http://reality.sgiweb.org/freeware/source/wmCalClock/
diff --git a/time/wmCalClock/distinfo b/time/wmCalClock/distinfo
index 95d60066d31..7bd6808f55c 100644
--- a/time/wmCalClock/distinfo
+++ b/time/wmCalClock/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/02/16 11:51:46 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/05/04 16:43:44 wiz Exp $
SHA1 (wmCalClock-1.25.tar.gz) = 029bdda7ec7e93ed4b29b67936b40729e7f1dcdc
RMD160 (wmCalClock-1.25.tar.gz) = d8c2e3837fe84fcacc357401496ae11b1f770e52
Size (wmCalClock-1.25.tar.gz) = 71574 bytes
SHA1 (patch-aa) = 3ade88a3f671615fedbf4e1f41473e8e19c48ec2
+SHA1 (patch-ab) = 22edf1b8fa5010439c61110a60cd044c1e28e5bc
diff --git a/time/wmCalClock/patches/patch-ab b/time/wmCalClock/patches/patch-ab
new file mode 100644
index 00000000000..a9eadae2c44
--- /dev/null
+++ b/time/wmCalClock/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2009/05/04 16:43:44 wiz Exp $
+
+--- wmCalClock.c.orig 1999-07-02 23:01:35.000000000 +0200
++++ wmCalClock.c
+@@ -299,7 +299,7 @@ int main(int argc, char *argv[]) {
+ int i, n, wid, extrady, extradx;
+ int Year, Month, DayOfWeek, DayOfMonth, OldDayOfMonth;
+ int Hours, Mins, Secs, OldSecs, digit, xoff, D[10], xsize;
+- long CurrentLocalTime;
++ time_t CurrentLocalTime;
+ double UT, TU, TU2, TU3, T0, gmst, jd(), hour24();
+
+