tag 630291 + patch
.

السلام عليكم،

  The attached patch fixes FTBFS with libnotify 0.7, it is also backward 
  compatible with older libnotify (so you don't need to bump the 
  libnotify-dev version in Build-Deps)

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
Description: Fix FTBFS with libnotify0.7
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630291
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@sabily.org>
--- a/src/main.c
+++ b/src/main.c
@@ -1239,9 +1239,13 @@
 	notification = notify_notification_new
                                             (program_name,
                                              NULL,
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
                                              NULL,
-					     NULL);
+                                             NULL);
 	notify_notification_attach_to_status_icon (notification, status_icon );
+#else
+                                             NULL);
+#endif
 	notify_notification_set_timeout (notification, 8000);
 }
 #endif

Attachment: signature.asc
Description: Digital signature

Reply via email to