aboutsummaryrefslogtreecommitdiffstats
path: root/community/vinagre/gcc-10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/vinagre/gcc-10.patch')
-rw-r--r--community/vinagre/gcc-10.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/vinagre/gcc-10.patch b/community/vinagre/gcc-10.patch
new file mode 100644
index 00000000000..41937aca00d
--- /dev/null
+++ b/community/vinagre/gcc-10.patch
@@ -0,0 +1,24 @@
+Taken from Gentoo
+
+--- a/plugins/vnc/vinagre-vnc-connection.c
++++ b/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;
+--- a/plugins/vnc/vinagre-vnc-connection.h
++++ b/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))