From owner-svn-ports-head@freebsd.org Tue Aug 25 13:14:11 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D61F3CAC63; Tue, 25 Aug 2020 13:14:11 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbTwM3hztz4Nnk; Tue, 25 Aug 2020 13:14:11 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 625872A619; Tue, 25 Aug 2020 13:14:11 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07PDEBo4048359; Tue, 25 Aug 2020 13:14:11 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07PDEBWq048358; Tue, 25 Aug 2020 13:14:11 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <202008251314.07PDEBWq048358@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Tue, 25 Aug 2020 13:14:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546180 - head/net/remmina/files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/net/remmina/files X-SVN-Commit-Revision: 546180 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 13:14:11 -0000 Author: zeising Date: Tue Aug 25 13:14:10 2020 New Revision: 546180 URL: https://svnweb.freebsd.org/changeset/ports/546180 Log: net/remmina: Fix build with -fno-common Add a patch from upstream to fix the build of net/remmina with -fno-common, which is the default with llvm 11. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) Added: head/net/remmina/files/ head/net/remmina/files/patch-27f84d1c.c (contents, props changed) Added: head/net/remmina/files/patch-27f84d1c.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/remmina/files/patch-27f84d1c.c Tue Aug 25 13:14:10 2020 (r546180) @@ -0,0 +1,23 @@ +diff --git a/src/remmina_stats.c b/src/remmina_stats.c +index a6eb6f609ba7f0a5d444da2eb9f34684725625a5..3b7cbf0bf61964cc027c936b753bece49986c193 100644 +--- src/remmina_stats.c ++++ 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);