diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-02-09 07:31:48 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-02-09 07:32:13 -0600 |
commit | e2ba17ea684c685b213acc48dc7eefcac684b7a2 (patch) | |
tree | 525fe0d07d8baa822870c900f5f017be90c3b2a8 /net-misc/remmina/files | |
parent | net-wireless/iwd: bump to 1.5 (diff) | |
download | gentoo-e2ba17ea684c685b213acc48dc7eefcac684b7a2.tar.gz gentoo-e2ba17ea684c685b213acc48dc7eefcac684b7a2.tar.bz2 gentoo-e2ba17ea684c685b213acc48dc7eefcac684b7a2.zip |
net-misc/remmina: add -fno-common/gcc10 fix from upstream
Closes: https://bugs.gentoo.org/708740
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc/remmina/files')
-rw-r--r-- | net-misc/remmina/files/remmina-gcc10.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/remmina/files/remmina-gcc10.patch b/net-misc/remmina/files/remmina-gcc10.patch new file mode 100644 index 000000000000..214a8c887879 --- /dev/null +++ b/net-misc/remmina/files/remmina-gcc10.patch @@ -0,0 +1,36 @@ +From 27f84d1c0a2e4c2432281f25ef3026bb00bbdc15 Mon Sep 17 00:00:00 2001 +From: Antenore Gatta <antenore@simbiosi.org> +Date: Sun, 9 Feb 2020 02:34:50 +0100 +Subject: [PATCH] Removing struct declaration utsname as not used - Closes + #2080 + +--- + src/remmina_stats.c | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/src/remmina_stats.c b/src/remmina_stats.c +index a6eb6f609..3b7cbf0bf 100644 +--- a/src/remmina_stats.c ++++ b/src/remmina_stats.c +@@ -159,8 +159,6 @@ + #endif + #include "remmina_stats.h" + +-struct utsname u; +- + struct ProfilesData { + GHashTable *proto_count; + GHashTable *proto_date; +@@ -864,9 +862,6 @@ JsonNode *remmina_stats_get_all() + json_builder_set_member_name(b, "REMMINAVERSION"); + json_builder_add_value(b, n); + +- if (uname(&u) == -1) +- g_print("uname:"); +- + n = remmina_stats_get_os_info(); + json_builder_set_member_name(b, "SYSTEM"); + json_builder_add_value(b, n); +-- +2.24.1 + |