packages: bluez-gnome/bluez-gnome-libnotify.patch (NEW) - fix build with li...

lisu lisu at pld-linux.org
Wed Apr 6 17:09:52 CEST 2011


Author: lisu                         Date: Wed Apr  6 15:09:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with libnotify 0.7

---- Files affected:
packages/bluez-gnome:
   bluez-gnome-libnotify.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/bluez-gnome/bluez-gnome-libnotify.patch
diff -u /dev/null packages/bluez-gnome/bluez-gnome-libnotify.patch:1.1
--- /dev/null	Wed Apr  6 17:09:52 2011
+++ packages/bluez-gnome/bluez-gnome-libnotify.patch	Wed Apr  6 17:09:47 2011
@@ -0,0 +1,15 @@
+--- bluez-gnome-1.8/applet/notify.c~	2008-09-29 14:08:50.000000000 +0200
++++ bluez-gnome-1.8/applet/notify.c	2011-04-06 17:04:30.407130903 +0200
+@@ -53,7 +53,11 @@
+ 		notify_notification_close(notify, NULL);
+ 	}
+ 
+-	notify = notify_notification_new(summary, message, "bluetooth", NULL);
++	notify = notify_notification_new(summary, message, "bluetooth"
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++		, NULL
++#endif
++		);
+ 
+ 	notify_notification_set_timeout(notify, timeout);
+ 
================================================================


More information about the pld-cvs-commit mailing list