nixpkgs/pkgs/desktops/pantheon/services/elementary-settings-daemon/fix-paths.patch
worldofpeace bf0dd34b2c Revert "pantheon.elementary-settings-daemon: 3.34.1 -> 3.36.0"
Mutter 3.36 in gala is almost ready.

This reverts commit 7160b7c31c8a44ffdd0cd0f375624c2c9c834917.
2020-04-06 02:48:08 -04:00

16 lines
377 B
Diff

--- 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;