summaryrefslogtreecommitdiffstats
path: root/x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-21 02:40:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-21 02:40:21 +0800
commit846408569d4f7affbc2afa98b8f50f6796c15292 (patch)
tree06da9cb33964ec680c4b138b955e92f0461c10db /x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
parent17e3621f95149d3632e762b9f2edb6ede2178913 (diff)
downloadmarcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar.gz
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar.bz2
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar.lz
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar.xz
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.tar.zst
marcuscom-ports-846408569d4f7affbc2afa98b8f50f6796c15292.zip
Install our own copy of iso3166.tab to fix the clock applet crash. This
copy is obtained from OpenBSD. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10190 df743ca5-7f9a-e211-a948-0013205c9059
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 000000000..72c28fbf6
--- /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->zonetab = g_build_filename (DATADIR, "gnome-panel", "iso3166.tab", NULL);
+
+ #ifdef CLOCK_TEXTDOMAIN
+ /* this is used when clock is embedded in the gnome-panel