aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c')
-rw-r--r--x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c b/x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
new file mode 100644
index 000000000000..0df281fd941d
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
@@ -0,0 +1,14 @@
+--- applets/clock/clock-zonetable.c.orig 2008-01-20 13:32:13.000000000 -0500
++++ applets/clock/clock-zonetable.c 2008-01-20 13:35:34.000000000 -0500
+@@ -124,7 +124,10 @@ clock_zonetable_new (gchar *zoneinfodir)
+ priv = PRIVATE (this);
+
+ priv->zonetab = g_build_filename (zoneinfodir, "zone.tab", NULL);
+- priv->iso3166 = g_build_filename (zoneinfodir, "iso3166.tab", NULL);
++ /*priv->iso3166 = g_build_filename (zoneinfodir, "iso3166.tab", NULL);*/
++ /* FreeBSD doesn't include iso3166.tab, so we install it especially
++ * for this clock. */
++ priv->iso3166 = g_build_filename (DATADIR, "gnome-panel", "iso3166.tab", NULL);
+
+ #ifdef CLOCK_TEXTDOMAIN
+ /* this is used when clock is embedded in the gnome-panel