packages: icedove/icedove-libnotify.patch (NEW) - fix build with libnotify 0.7

lisu lisu at pld-linux.org
Wed Apr 6 18:17:20 CEST 2011


Author: lisu                         Date: Wed Apr  6 16:17:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with libnotify 0.7

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

---- Diffs:

================================================================
Index: packages/icedove/icedove-libnotify.patch
diff -u /dev/null packages/icedove/icedove-libnotify.patch:1.1
--- /dev/null	Wed Apr  6 18:17:20 2011
+++ packages/icedove/icedove-libnotify.patch	Wed Apr  6 18:17:15 2011
@@ -0,0 +1,15 @@
+--- mozilla/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp~	2011-03-03 12:42:51.000000000 +0100
++++ mozilla/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp	2011-04-06 18:10:55.850586553 +0200
+@@ -204,7 +204,11 @@
+ {
+   NotifyNotification* notify = notify_notification_new(mAlertTitle.get(),
+                                                        mAlertText.get(),
+-                                                       NULL, NULL);
++                                                       NULL
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++						       , NULL
++#endif
++						       );
+   if (!notify)
+     return NS_ERROR_OUT_OF_MEMORY;
+ 
================================================================


More information about the pld-cvs-commit mailing list