nixpkgs-suyu/pkgs/desktops/pantheon/services/elementary-settings-daemon/fix-paths.patch

16 lines
377 B
Diff
Raw Normal View History

2018-08-20 22:31:18 +02:00
--- a/plugins/datetime/tz.h
+++ b/plugins/datetime/tz.h
@@ -27,11 +27,7 @@
2018-08-20 22:31:18 +02:00
#include <glib.h>
2018-08-20 22:31:18 +02:00
-#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"
2018-08-20 22:31:18 +02:00
typedef struct _TzDB TzDB;
typedef struct _TzLocation TzLocation;