diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-02-05 19:25:25 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-02-05 19:25:25 +0000 |
commit | 29a70e2e0693008b760506c9a635513413ac05a9 (patch) | |
tree | 83bd51291083d9773ec6f46788772a473b5f2e44 /gnome-base/gnome-panel/files | |
parent | Version bump. Per bug #257189. (diff) | |
download | gentoo-2-29a70e2e0693008b760506c9a635513413ac05a9.tar.gz gentoo-2-29a70e2e0693008b760506c9a635513413ac05a9.tar.bz2 gentoo-2-29a70e2e0693008b760506c9a635513413ac05a9.zip |
Add a patch to build on FreeBSD and rekeyword it; bug #256859
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-panel/files')
-rw-r--r-- | gnome-base/gnome-panel/files/gnome-panel-2.24.3-daylight.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnome-base/gnome-panel/files/gnome-panel-2.24.3-daylight.patch b/gnome-base/gnome-panel/files/gnome-panel-2.24.3-daylight.patch new file mode 100644 index 000000000000..508aa0d6cdf5 --- /dev/null +++ b/gnome-base/gnome-panel/files/gnome-panel-2.24.3-daylight.patch @@ -0,0 +1,25 @@ +http://bugzilla.gnome.org/show_bug.cgi?id=569737 +https://bugs.gentoo.org/show_bug.cgi?id=256859 + +--- gnome-panel-2.24.3/applets/clock/clock.c.old 2009-01-29 21:59:18 +0000 ++++ gnome-panel-2.24.3/applets/clock/clock.c 2009-01-29 21:59:29 +0000 +@@ -653,7 +653,7 @@ + time (&now_t); + localtime_r (&now_t, &now); + +- if (daylight && now.tm_isdst) { ++ if (now.tm_isdst>0) { + zone = tzname[1]; + } else { + zone = tzname[0]; +--- gnome-panel-2.24.3/applets/clock/clock-location.c.old 2009-01-29 22:00:15 +0000 ++++ gnome-panel-2.24.3/applets/clock/clock-location.c 2009-01-29 22:00:29 +0000 +@@ -337,7 +337,7 @@ + now_t = time (NULL); + localtime_r (&now_t, &now); + +- if (daylight && now.tm_isdst) { ++ if (now.tm_isdst>0) { + clock_location_set_tzname (this, tzname[1]); + } else { + clock_location_set_tzname (this, tzname[0]); |