summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/services/elementary-settings-daemon/fix-paths.patch
blob: 2229302cab7c0cbcf5e86aa30bf5d357fa84b06b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/plugins/datetime/tz.h
+++ b/plugins/datetime/tz.h
@@ -27,11 +27,7 @@
 
 #include <glib.h>
 
-#ifndef __sun
-#  define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
-#else
-#  define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab"
-#endif
+#define TZ_DATA_FILE "@tzdata@/share/zoneinfo/zone.tab"
 
 typedef struct _TzDB TzDB;
 typedef struct _TzLocation TzLocation;