diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-06 19:24:47 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-06 19:24:47 +0000 |
commit | 02cffa57e60e864c1de6e2ff9257f7548088d046 (patch) | |
tree | d8c8b7adcdb5e25a0e23316640634a6ee9614395 /x11-clocks/wmitime | |
parent | 7506e44cde8d43ab7a20d54ddc382086a57a334f (diff) | |
download | ports-02cffa57e60e864c1de6e2ff9257f7548088d046.tar.gz ports-02cffa57e60e864c1de6e2ff9257f7548088d046.zip |
Notes
Diffstat (limited to 'x11-clocks/wmitime')
-rw-r--r-- | x11-clocks/wmitime/files/patch-ab | 20 |
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; |