Hi, Here's a bit delayed update to dunst port.
Tweaked two regex test cases which seem to behave differently between OpenBSD and Linux. Seems to be working on amd64. Timo diff /usr/ports commit - 006e9b20e2a3475a2347ae53fa188aac011d22d0 path + /usr/ports blob - 36d61a448bda5246c0d1b41144661adcff637cc1 file + x11/dunst/Makefile --- x11/dunst/Makefile +++ x11/dunst/Makefile @@ -2,7 +2,7 @@ GH_TAGNAME = v1.9.0 GH_ACCOUNT = dunst-project GH_PROJECT = dunst -GH_TAGNAME = v1.9.0 +GH_TAGNAME = v1.9.2 CATEGORIES = x11 blob - 1941e141aa88a482621ddf77a197a9985b6e1c9b file + x11/dunst/distinfo --- x11/dunst/distinfo +++ x11/dunst/distinfo @@ -1,2 +1,2 @@ -SHA256 (dunst-1.9.0.tar.gz) = t7jX1lYLskGx5NN+uncM3xm51dv8HU1HVyrWdvP3yYo= -SIZE (dunst-1.9.0.tar.gz) = 4609222 +SHA256 (dunst-1.9.2.tar.gz) = +mzkXAr0uuGIsNZ5pbqS+Pm35DAbsbtHboLfJrzp5xo= +SIZE (dunst-1.9.2.tar.gz) = 4614703 blob - aac51d44bcda0dd6dfe4ecf99ea7328927098788 file + x11/dunst/patches/patch-config_mk --- x11/dunst/patches/patch-config_mk +++ x11/dunst/patches/patch-config_mk @@ -1,7 +1,7 @@ Index: config.mk --- config.mk.orig +++ config.mk -@@ -36,8 +36,8 @@ endif +@@ -42,8 +42,8 @@ endif # flags DEFAULT_CPPFLAGS = -Wno-gnu-zero-variadic-macro-arguments -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" -DSYSCONFDIR=\"${SYSCONFDIR}\" blob - 352d61b0fb04ec1bf550992b0490dbb93f7a01b6 file + x11/dunst/patches/patch-docs_dunst_5_pod --- x11/dunst/patches/patch-docs_dunst_5_pod +++ x11/dunst/patches/patch-docs_dunst_5_pod @@ -1,7 +1,7 @@ Index: docs/dunst.5.pod --- docs/dunst.5.pod.orig +++ docs/dunst.5.pod -@@ -399,7 +399,7 @@ Hide the count of stacked duplicate notifications. +@@ -409,7 +409,7 @@ Hide the count of stacked duplicate notifications. Show an indicator if a notification contains actions and/or open-able URLs. See ACTIONS below for further details. @@ -10,7 +10,7 @@ Index: docs/dunst.5.pod Can be set to a colon-separated list of paths to search for icons to use with notifications. -@@ -413,7 +413,7 @@ replace this and will need new settings. +@@ -423,7 +423,7 @@ replace this and will need new settings. Comma-separated of names of the the themes to use for looking up icons. This has to be the name of the directory in which the theme is located, not the human-friendly name of the theme. So for example, the theme B<Breeze Dark> is @@ -19,7 +19,7 @@ Index: docs/dunst.5.pod theme to B<breeze-dark>. The first theme in the list is the most important. Only if the icon cannot be -@@ -451,12 +451,12 @@ Maximum number of notifications that will be kept in h +@@ -461,12 +461,12 @@ Maximum number of notifications that will be kept in h is reached, older notifications will be deleted once a new one arrives. See HISTORY. blob - 8ad0b097d1fbb4b654e586efcc31ffdc0cf32d28 file + x11/dunst/patches/patch-dunstrc --- x11/dunst/patches/patch-dunstrc +++ x11/dunst/patches/patch-dunstrc @@ -1,7 +1,7 @@ Index: dunstrc --- dunstrc.orig +++ dunstrc -@@ -212,7 +212,7 @@ +@@ -217,7 +217,7 @@ max_icon_size = 128 # Paths to default icons (only neccesary when not using recursive icon lookup) @@ -10,7 +10,7 @@ Index: dunstrc ### History ### -@@ -226,10 +226,10 @@ +@@ -231,10 +231,10 @@ ### Misc/Advanced ### # dmenu path. blob - 530744f08ce2aa03548075fe61320f7cdf36e110 file + x11/dunst/patches/patch-src_dunst_c --- x11/dunst/patches/patch-src_dunst_c +++ x11/dunst/patches/patch-src_dunst_c @@ -1,9 +1,9 @@ Index: src/dunst.c --- src/dunst.c.orig +++ src/dunst.c -@@ -96,7 +96,7 @@ static gboolean run(void *data) - gint64 sleep = queues_get_next_datachange(now); - gint64 timeout_at = now + sleep; +@@ -100,7 +100,7 @@ static gboolean run(void *data) + gint64 sleep = timeout_at - now; + sleep = MAX(sleep, 1000); // Sleep at least 1ms - LOG_D("Sleeping for %li ms", sleep/1000); + LOG_D("Sleeping for %lli ms", (long long)sleep/1000); blob - 3402cef0c0229e5e6cc686acf71eb5a7b40993e7 file + /dev/null --- x11/dunst/patches/patch-src_icon-lookup_c +++ /dev/null @@ -1,13 +0,0 @@ -Don't use malloc.h header on OpenBSD. - -Index: src/icon-lookup.c ---- src/icon-lookup.c.orig -+++ src/icon-lookup.c -@@ -3,7 +3,6 @@ - - #include <glib.h> - #include <stdio.h> --#include <malloc.h> - #include <unistd.h> - #include <assert.h> - blob - 1cfcbf811904bc7b5ce8b5838b9fb97f8fdee478 file + x11/dunst/patches/patch-src_notification_c --- x11/dunst/patches/patch-src_notification_c +++ x11/dunst/patches/patch-src_notification_c @@ -21,7 +21,7 @@ Index: src/notification.c safe_setenv("DUNST_APP_NAME", appname); safe_setenv("DUNST_SUMMARY", summary); safe_setenv("DUNST_BODY", body); -@@ -683,14 +683,14 @@ void notification_update_text_to_render(struct notific +@@ -684,14 +684,14 @@ void notification_update_text_to_render(struct notific char *new_buf; if (hours > 0) { new_buf = blob - /dev/null file + x11/dunst/patches/patch-test_rules_c (mode 644) --- /dev/null +++ x11/dunst/patches/patch-test_rules_c @@ -0,0 +1,21 @@ +Index: test/rules.c +--- test/rules.c.orig ++++ test/rules.c +@@ -41,7 +41,7 @@ TEST test_pattern_match(void) { + ASSERT(rule_field_matches_string("ffffasd", ".*asd")); + + // Substring matching +- ASSERT(rule_field_matches_string("asd", "")); ++ ASSERT_FALSE(rule_field_matches_string("asd", "")); + ASSERT(rule_field_matches_string("asd", "sd")); + ASSERT(rule_field_matches_string("asd", "a")); + ASSERT(rule_field_matches_string("asd", "d")); +@@ -54,7 +54,7 @@ TEST test_pattern_match(void) { + ASSERT_FALSE(rule_field_matches_string("azd", "asd|dfg|ghj")); + + // Special characters +- ASSERT_FALSE(rule_field_matches_string("{", "{")); ++ ASSERT(rule_field_matches_string("{", "{")); + ASSERT(rule_field_matches_string("{", "\\{")); + ASSERT(rule_field_matches_string("a", "(a)")); + } else {