diff options
Diffstat (limited to 'x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch')
-rw-r--r-- | x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch new file mode 100644 index 000000000000..63765ee79e69 --- /dev/null +++ b/x11-misc/notification-daemon/files/notification-daemon-0.5.0-libnotify-0.7.patch @@ -0,0 +1,28 @@ +--- src/capplet/notification-properties.c ++++ src/capplet/notification-properties.c +@@ -27,6 +27,10 @@ + #include <string.h> + #include <libnotify/notify.h> + ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + #include "stack.h" + + #define GCONF_KEY_DAEMON "/apps/notification-daemon" +@@ -402,8 +406,12 @@ + + dialog->preview = notify_notification_new (_("Notification Test"), + _("Just a test"), +- "gnome-util", +- NULL); ++ "gnome-util" ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ ); ++#else ++ , NULL); ++#endif + + if (!notify_notification_show (dialog->preview, &error)) { + char *message; |