]> git.pld-linux.org Git - packages/compiz-fusion-plugins-extra.git/blobdiff - compiz-fusion-plugins-extra-libnotify.patch
- fix build with libnotify 0.7
[packages/compiz-fusion-plugins-extra.git] / compiz-fusion-plugins-extra-libnotify.patch
diff --git a/compiz-fusion-plugins-extra-libnotify.patch b/compiz-fusion-plugins-extra-libnotify.patch
new file mode 100644 (file)
index 0000000..0bcbd8e
--- /dev/null
@@ -0,0 +1,15 @@
+--- compiz-plugins-extra-0.8.6/src/notification/notification.c~        2010-03-29 16:09:18.000000000 +0200
++++ compiz-plugins-extra-0.8.6/src/notification/notification.c 2011-04-07 10:38:05.312531742 +0200
+@@ -103,7 +103,11 @@
+     n = notify_notification_new (logLevel,
+                                  message,
+-                                 iconUri, NULL);
++                                 iconUri
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++                               , NULL
++#endif
++                               );
+     notify_notification_set_timeout (n, nd->timeout);
This page took 0.022698 seconds and 4 git commands to generate.