summaryrefslogtreecommitdiff
path: root/office/calcurse/dst_change.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/calcurse/dst_change.patch')
-rw-r--r--office/calcurse/dst_change.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/office/calcurse/dst_change.patch b/office/calcurse/dst_change.patch
new file mode 100644
index 0000000000..db0800db79
--- /dev/null
+++ b/office/calcurse/dst_change.patch
@@ -0,0 +1,15 @@
+diff -Naur a/src/utils.c b/src/utils.c
+--- a/src/utils.c 2019-06-16 20:04:39.000000000 +0100
++++ b/src/utils.c 2019-08-01 16:12:00.864953675 +0100
+@@ -526,9 +526,11 @@
+ t.tm_mon += delta_month;
+ t.tm_mday += delta_day;
+
++ t.tm_isdst = -1;
+ if (mktime(&t) == -1) {
+ return 1;
+ } else {
++ t.tm_isdst = -1;
+ *date = t;
+ return 0;
+ }