diff options
Diffstat (limited to 'net-misc/remmina/files/remmina-gcc10.patch')
-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 + |