diff options
author | truckman <truckman@FreeBSD.org> | 2018-01-24 15:14:17 +0800 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2018-01-24 15:14:17 +0800 |
commit | 93577920112b3814e4e25359ec13b5e49e7a7a3a (patch) | |
tree | cdf4c53b5809d75ef3cbf76976e0da1a4ea5e900 | |
parent | 4131cd36e05b0340868d1cfb151290613dbb5948 (diff) | |
download | freebsd-ports-gnome-93577920112b3814e4e25359ec13b5e49e7a7a3a.tar.gz freebsd-ports-gnome-93577920112b3814e4e25359ec13b5e49e7a7a3a.tar.zst freebsd-ports-gnome-93577920112b3814e4e25359ec13b5e49e7a7a3a.zip |
Unbreak build of deskutils/gnome-contacts with vala 0.36
PR: 225123, 221941
Submitted by: cpm
-rw-r--r-- | deskutils/gnome-contacts/files/patch-src_contacts-contact-editor.vala | 11 | ||||
-rw-r--r-- | deskutils/gnome-contacts/files/patch-src_contacts-contact-pane.vala | 34 |
2 files changed, 45 insertions, 0 deletions
diff --git a/deskutils/gnome-contacts/files/patch-src_contacts-contact-editor.vala b/deskutils/gnome-contacts/files/patch-src_contacts-contact-editor.vala new file mode 100644 index 000000000000..c67280951db9 --- /dev/null +++ b/deskutils/gnome-contacts/files/patch-src_contacts-contact-editor.vala @@ -0,0 +1,11 @@ +--- src/contacts-contact-editor.vala.orig 2018-01-12 21:18:52 UTC ++++ src/contacts-contact-editor.vala +@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Gr + } + + struct RowData { +- AbstractFieldDetails<string> details; ++ AbstractFieldDetails details; + } + + struct Field { diff --git a/deskutils/gnome-contacts/files/patch-src_contacts-contact-pane.vala b/deskutils/gnome-contacts/files/patch-src_contacts-contact-pane.vala new file mode 100644 index 000000000000..ac29403550e6 --- /dev/null +++ b/deskutils/gnome-contacts/files/patch-src_contacts-contact-pane.vala @@ -0,0 +1,34 @@ +--- src/contacts-contact-pane.vala.orig 2018-01-12 21:20:00 UTC ++++ src/contacts-contact-pane.vala +@@ -451,7 +451,6 @@ public class Contacts.ContactPane : Note + DialogFlags.MODAL, + MessageType.ERROR, + ButtonsType.OK, +- "%s", + _("You need to enter some data")); + dialog.show (); + dialog.response.connect ( () => { +@@ -463,7 +462,6 @@ public class Contacts.ContactPane : Note + DialogFlags.MODAL, + MessageType.ERROR, + ButtonsType.OK, +- "%s", + _("No primary addressbook configured")); + dialog.show (); + dialog.response.connect ( () => { +@@ -482,7 +480,6 @@ public class Contacts.ContactPane : Note + DialogFlags.MODAL, + MessageType.ERROR, + ButtonsType.OK, +- "%s", + _("Unable to create new contacts: %s"), e.message); + } + +@@ -493,7 +490,6 @@ public class Contacts.ContactPane : Note + DialogFlags.MODAL, + MessageType.ERROR, + ButtonsType.OK, +- "%s", + _("Unable to find newly created contact")); + } + |