summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-30 07:01:51 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-30 07:01:51 +0000
commitb026a4dc93c0e3c84ea98adb323ef91fd8774c76 (patch)
tree3141675335373eb353008cd1570b88bd1228e28d
parentgraphics/gstreamer1-plugins-opencv: fix plist (diff)
net/vinagre: fix build on current
Obtained from: https://gitlab.gnome.org/GNOME/vinagre/-/merge_requests/8/diffs
-rw-r--r--net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.c11
-rw-r--r--net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.c b/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.c
new file mode 100644
index 000000000000..405cea5689fb
--- /dev/null
+++ b/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.c
@@ -0,0 +1,11 @@
+--- plugins/vnc/vinagre-vnc-connection.c.orig 2020-08-30 07:00:18 UTC
++++ plugins/vnc/vinagre-vnc-connection.c
+@@ -27,6 +27,8 @@
+ #include "vinagre-vnc-connection.h"
+ #include "vinagre-vala.h"
+
++gboolean scaling_command_line;
++
+ struct _VinagreVncConnectionPrivate
+ {
+ gchar *desktop_name;
diff --git a/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.h b/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.h
new file mode 100644
index 000000000000..c1f8ab610b8b
--- /dev/null
+++ b/net/vinagre/files/patch-plugins_vnc_vinagre-vnc-connection.h
@@ -0,0 +1,11 @@
+--- plugins/vnc/vinagre-vnc-connection.h.orig 2020-08-30 07:00:18 UTC
++++ plugins/vnc/vinagre-vnc-connection.h
+@@ -26,7 +26,7 @@
+
+ G_BEGIN_DECLS
+
+-gboolean scaling_command_line;
++extern gboolean scaling_command_line;
+
+ #define VINAGRE_TYPE_VNC_CONNECTION (vinagre_vnc_connection_get_type ())
+ #define VINAGRE_VNC_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VINAGRE_TYPE_VNC_CONNECTION, VinagreVncConnection))