diff options
Diffstat (limited to 'dunst/fix-build.patch')
| -rw-r--r-- | dunst/fix-build.patch | 24 |
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> |