]> git.pld-linux.org Git - packages/icedove.git/commitdiff
- fix build with libnotify 0.7 auto/th/icedove-3_1_9-3
authorlisu <lisu@pld-linux.org>
Wed, 6 Apr 2011 16:17:15 +0000 (16:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    icedove-libnotify.patch -> 1.1

icedove-libnotify.patch [new file with mode: 0644]

diff --git a/icedove-libnotify.patch b/icedove-libnotify.patch
new file mode 100644 (file)
index 0000000..98dd81e
--- /dev/null
@@ -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;
This page took 0.059404 seconds and 4 git commands to generate.