From 93eaf8d35f52a2dfc153ab718885c9606edbf72b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 29 Nov 2021 12:09:52 +0000 Subject: accessibility/wlsunset: switch to upstream fix after f9c701cefcb4 --- accessibility/wlsunset/files/patch-main.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 accessibility/wlsunset/files/patch-main.c (limited to 'accessibility/wlsunset/files/patch-main.c') diff --git a/accessibility/wlsunset/files/patch-main.c b/accessibility/wlsunset/files/patch-main.c deleted file mode 100644 index f8c592112448..000000000000 --- a/accessibility/wlsunset/files/patch-main.c +++ /dev/null @@ -1,17 +0,0 @@ -Unbreak on FreeBSD after https://git.sr.ht/~kennylevinsen/wlsunset/commit/111181106e41 -See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=24590 - -main.c:710:47: error: use of undeclared identifier 'timezone' - *time = tm.tm_hour * 3600 + tm.tm_min * 60 + timezone; - ---- main.c.orig 2021-04-25 20:56:30 UTC -+++ main.c -@@ -707,7 +707,7 @@ static int parse_time_of_day(const char *s, time_t *ti - if (strptime(s, "%H:%M", &tm) == NULL) { - return -1; - } -- *time = tm.tm_hour * 3600 + tm.tm_min * 60 + timezone; -+ *time = tm.tm_hour * 3600 + tm.tm_min * 60 + tm.tm_gmtoff; - return 0; - } - -- cgit v1.2.3