diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-11-29 12:09:52 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-11-29 12:10:15 +0000 |
commit | 93eaf8d35f52a2dfc153ab718885c9606edbf72b (patch) | |
tree | e5e2ebc2652b3a054031a23419e088060b4d8148 | |
parent | devel/meson: update to 0.60.2 (diff) |
accessibility/wlsunset: switch to upstream fix after f9c701cefcb4
Diffstat (limited to '')
-rw-r--r-- | accessibility/wlsunset/Makefile | 3 | ||||
-rw-r--r-- | accessibility/wlsunset/distinfo | 2 | ||||
-rw-r--r-- | accessibility/wlsunset/files/patch-main.c | 17 |
3 files changed, 5 insertions, 17 deletions
diff --git a/accessibility/wlsunset/Makefile b/accessibility/wlsunset/Makefile index b1031bc80a9c..409abbee345c 100644 --- a/accessibility/wlsunset/Makefile +++ b/accessibility/wlsunset/Makefile @@ -3,6 +3,9 @@ DISTVERSION= 0.2.0 CATEGORIES= accessibility MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ +PATCH_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/commit/ +PATCHFILES+= 601dfc87ff6e.patch:-p1 # https://lists.sr.ht/~kennylevinsen/wlsunset-devel/patches/26904 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Day/night gamma adjustments for Wayland diff --git a/accessibility/wlsunset/distinfo b/accessibility/wlsunset/distinfo index 7915d307505e..c2d1b36d1d10 100644 --- a/accessibility/wlsunset/distinfo +++ b/accessibility/wlsunset/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1619384190 SHA256 (wlsunset-0.2.0.tar.gz) = 88bce695722a09d79545f14d404cc0659f7176bb08d5db5f4f23228b6ba8bb03 SIZE (wlsunset-0.2.0.tar.gz) = 12605 +SHA256 (601dfc87ff6e.patch) = 2d058d5badc307a89a909b73e8bd7cf454549f6c88c805f23b409aa9c4ec40b4 +SIZE (601dfc87ff6e.patch) = 1289 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; - } - |