aboutsummaryrefslogtreecommitdiff
path: root/dunst/fix-build.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-06-23 21:20:30 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-06-23 21:20:30 +0000
commitc56199888ba1c1960e4eeba8e501802d02eec55f (patch)
treeee3dca96e56352f64bcffaa447611be186e351b3 /dunst/fix-build.patch
parent7e1bfe1ae98baa48aa05c0a7c41770d91406d1ce (diff)
downloadalicelinux-extra.tar.gz
alicelinux-extra.zip
Woodpecker CI 37c01a3e1a45c6311f828746f1a82ed1f093b986 [SKIP CI]extra
Diffstat (limited to 'dunst/fix-build.patch')
-rw-r--r--dunst/fix-build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dunst/fix-build.patch b/dunst/fix-build.patch
new file mode 100644
index 00000000..9f712c61
--- /dev/null
+++ b/dunst/fix-build.patch
@@ -0,0 +1,24 @@
+--- a/meson.build
++++ b/meson.build
+@@ -51,7 +51,6 @@
+ gdk_pixbuf,
+ pangocairo,
+ systemd,
+- libnotify,
+ realtime,
+ math,
+ ]
+--- a/dunstify.c
++++ b/dunstify.c
+@@ -9,6 +9,11 @@
+ * @license BSD-3-Clause
+ */
+
++/* System libnotify.pc defines G_LOG_DOMAIN=libnotify without quotes,
++ * which breaks glib assertion macros. Must be fixed before any includes. */
++#undef G_LOG_DOMAIN
++#define G_LOG_DOMAIN "libnotify"
++
+ #include <glib.h>
+ #include <libnotify/notify.h>
+ #include <locale.h>