aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/wmitime
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-06 19:24:47 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-06 19:24:47 +0000
commit02cffa57e60e864c1de6e2ff9257f7548088d046 (patch)
treed8c8b7adcdb5e25a0e23316640634a6ee9614395 /x11-clocks/wmitime
parent7506e44cde8d43ab7a20d54ddc382086a57a334f (diff)
downloadports-02cffa57e60e864c1de6e2ff9257f7548088d046.tar.gz
ports-02cffa57e60e864c1de6e2ff9257f7548088d046.zip
Notes
Diffstat (limited to 'x11-clocks/wmitime')
-rw-r--r--x11-clocks/wmitime/files/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-clocks/wmitime/files/patch-ab b/x11-clocks/wmitime/files/patch-ab
new file mode 100644
index 000000000000..87370ada5180
--- /dev/null
+++ b/x11-clocks/wmitime/files/patch-ab
@@ -0,0 +1,20 @@
+--- wmitime.c.orig Fri Aug 6 15:12:36 1999
++++ wmitime.c Fri Aug 6 15:10:34 1999
+@@ -281,7 +281,7 @@
+
+ // Compute Inet Time
+ iTime=(clk->tm_hour*3600+clk->tm_min*60+clk->tm_sec);
+- iTime=iTime+((timezone-1)+3600);
++ iTime=iTime+((1-clk->tm_gmtoff)+3600);
+ if (clk->tm_isdst)
+ iTime-=3600;
+ iTime=(iTime*1000)/86400;
+@@ -398,7 +398,7 @@
+
+ // Calculate Wheel Position...
+ iTime=(clk->tm_hour*3600+clk->tm_min*60+clk->tm_sec);
+- iTime=iTime+((timezone-1)+3600);
++ iTime=iTime+((1-clk->tm_gmtoff)+3600);
+ if (clk->tm_isdst)
+ iTime-=3600;
+ iTime=(iTime*1000)/8640;