summaryrefslogtreecommitdiff
path: root/community/deja-dup/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/deja-dup/fix-build.patch')
-rw-r--r--community/deja-dup/fix-build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/deja-dup/fix-build.patch b/community/deja-dup/fix-build.patch
new file mode 100644
index 000000000..49b58cd96
--- /dev/null
+++ b/community/deja-dup/fix-build.patch
@@ -0,0 +1,24 @@
+=== modified file 'deja-dup/widgets/WidgetUtils.vala'
+--- deja-dup/widgets/WidgetUtils.vala 2013-10-14 14:34:37 +0000
++++ deja-dup/widgets/WidgetUtils.vala 2013-12-06 17:19:31 +0000
+@@ -19,6 +19,10 @@
+
+ using GLib;
+
++// vala 0.22.1 changed the prototype for Notify.get_server_caps.
++// Rather than require that specific version, use 0.22.1's definition directly.
++extern GLib.List notify_get_server_caps();
++
+ namespace DejaDup {
+
+ public void show_uri(Gtk.Window? parent, string link)
+@@ -59,7 +63,7 @@
+ // Use Legacy unless we detect a different shell.
+ shell = ShellEnv.LEGACY;
+ // Next check for Shell by notification capabilities
+- unowned List<string> caps = Notify.get_server_caps();
++ List<string> caps = notify_get_server_caps();
+ bool persistence = false, actions = false;
+ foreach (string cap in caps) {
+ if (cap == "persistence")
+