From owner-svn-ports-all@freebsd.org Thu Aug 27 19:38:58 2020 Return-Path: Delivered-To: svn-ports-all@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 D39A83C182B; Thu, 27 Aug 2020 19:38:58 +0000 (UTC) (envelope-from tcberner@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 4BctMQ582cz4gDR; Thu, 27 Aug 2020 19:38:58 +0000 (UTC) (envelope-from tcberner@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 9322793E0; Thu, 27 Aug 2020 19:38:58 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07RJcwMT080704; Thu, 27 Aug 2020 19:38:58 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07RJcwQo080703; Thu, 27 Aug 2020 19:38:58 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202008271938.07RJcwQo080703@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Thu, 27 Aug 2020 19:38:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546675 - head/games/atomix/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/games/atomix/files X-SVN-Commit-Revision: 546675 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 19:38:59 -0000 Author: tcberner Date: Thu Aug 27 19:38:58 2020 New Revision: 546675 URL: https://svnweb.freebsd.org/changeset/ports/546675 Log: games/atomix: fix build with recent current Obtained from: https://gitlab.gnome.org/GNOME/atomix/-/commit/be7f44f1945a569494d46c60eaf6e7b39b2bb48b.patch Added: head/games/atomix/files/ head/games/atomix/files/patch-git_d3317c0b (contents, props changed) Added: head/games/atomix/files/patch-git_d3317c0b ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/atomix/files/patch-git_d3317c0b Thu Aug 27 19:38:58 2020 (r546675) @@ -0,0 +1,46 @@ +Obtained from: + https://gitlab.gnome.org/GNOME/atomix/-/commit/be7f44f1945a569494d46c60eaf6e7b39b2bb48b.patch + +From be7f44f1945a569494d46c60eaf6e7b39b2bb48b Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Tue, 25 Feb 2020 10:15:42 +0100 +Subject: [PATCH] Fix compilation with gcc10 / -fno-common + +gcc10 defaults to -fno-common, meaning that non static symbols can +only be declared once. Make the parent_class variable in level.c and +theme.c static to fix building with gcc10. +--- + src/level.c | 2 +- + src/theme.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/level.c b/src/level.c +index 160672d..5fbf6af 100644 +--- src/level.c ++++ src/level.c +@@ -31,7 +31,7 @@ static void level_class_init (GObjectClass *class); + static void level_init (Level *level); + static void level_finalize (GObject *object); + +-GObjectClass *parent_class; ++static GObjectClass *parent_class; + + /*================================================================= + +diff --git a/src/theme.c b/src/theme.c +index 45f3086..88acb00 100644 +--- src/theme.c ++++ src/theme.c +@@ -32,7 +32,7 @@ static void theme_init (Theme *theme); + static void theme_finalize (GObject *object); + static void destroy_theme_image (gpointer data); + +-GObjectClass *parent_class; ++static GObjectClass *parent_class; + + GType theme_get_type (void) + { +-- +GitLab + +