diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-06 17:20:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-06 17:20:56 +0000 |
commit | 56429e5c825a1a98f544d313f06ea7d79355c779 (patch) | |
tree | 4fe4ab5cc8018cce7d14a6be3c0ce241a4cdcbf8 /media-plugins/audacious-plugins/files | |
parent | Remove old versions. (diff) | |
download | historical-56429e5c825a1a98f544d313f06ea7d79355c779.tar.gz historical-56429e5c825a1a98f544d313f06ea7d79355c779.tar.bz2 historical-56429e5c825a1a98f544d313f06ea7d79355c779.zip |
Fix building with x11-libs/libnotify >= 0.7 wrt #353859.
Package-Manager: portage-2.2.0_alpha20/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/audacious-plugins/files')
-rw-r--r-- | media-plugins/audacious-plugins/files/2.4.3-libnotify-0.7.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-plugins/audacious-plugins/files/2.4.3-libnotify-0.7.patch b/media-plugins/audacious-plugins/files/2.4.3-libnotify-0.7.patch new file mode 100644 index 000000000000..6df899536f34 --- /dev/null +++ b/media-plugins/audacious-plugins/files/2.4.3-libnotify-0.7.patch @@ -0,0 +1,27 @@ +--- src/notify/libnotify-aosd_osd.c ++++ src/notify/libnotify-aosd_osd.c +@@ -22,6 +22,10 @@ + #include <libnotify/notify.h> + #include "libnotify-aosd_common.h" + ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + NotifyNotification *notification = NULL; + + gboolean osd_init() { +@@ -55,7 +59,12 @@ + GError *error = NULL; + + if(notification == NULL) { +- notification = notify_notification_new(title, message, pb == NULL ? icon : NULL, NULL); ++ notification = notify_notification_new(title, message, pb == NULL ? icon : NULL ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ ); ++#else ++ , NULL); ++#endif + g_signal_connect(notification, "closed", G_CALLBACK(osd_closed_handler), NULL); + AUDDBG("new osd created! (notification=%p)\n", notification); + } else { |