aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-05-21 18:37:55 +0800
committerkris <kris@FreeBSD.org>2003-05-21 18:37:55 +0800
commite8eb86056dd8c5ccb5f9386cb83bd13e52026238 (patch)
tree2ec8d8f8cab0255965114354dbb0260bbe459fa0
parente83eb1a70a2a39807bde4db9b471b182088bae77 (diff)
downloadfreebsd-ports-gnome-e8eb86056dd8c5ccb5f9386cb83bd13e52026238.tar.gz
freebsd-ports-gnome-e8eb86056dd8c5ccb5f9386cb83bd13e52026238.tar.zst
freebsd-ports-gnome-e8eb86056dd8c5ccb5f9386cb83bd13e52026238.zip
Fix on sparc64 by using a time_t instead of a long, and bump PORTREVISION.
-rw-r--r--x11-clocks/wmcalclock/Makefile1
-rw-r--r--x11-clocks/wmcalclock/files/patch-ab11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-clocks/wmcalclock/Makefile b/x11-clocks/wmcalclock/Makefile
index 01f4b52e86f3..c8058a95bc4b 100644
--- a/x11-clocks/wmcalclock/Makefile
+++ b/x11-clocks/wmcalclock/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wmCalClock
PORTVERSION= 1.25
+PORTREVISION= 1
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
diff --git a/x11-clocks/wmcalclock/files/patch-ab b/x11-clocks/wmcalclock/files/patch-ab
new file mode 100644
index 000000000000..227ac30c0ff4
--- /dev/null
+++ b/x11-clocks/wmcalclock/files/patch-ab
@@ -0,0 +1,11 @@
+--- wmCalClock.c.orig Wed May 21 03:34:04 2003
++++ wmCalClock.c Wed May 21 03:34:07 2003
+@@ -299,7 +299,7 @@
+ 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();
+
+