From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8E6A158091 for ; Wed, 1 Jun 2022 00:10:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15D57E0788; Wed, 1 Jun 2022 00:10:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E83F2E0788 for ; Wed, 1 Jun 2022 00:10:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0C743419A1 for ; Wed, 1 Jun 2022 00:10:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12DC44C3 for ; Wed, 1 Jun 2022 00:10:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654042241.69101d81e5b71f22cf39afe6cf3a01a2e670ca08.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/polymc/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/polymc/polymc-1.3.0.ebuild games-action/polymc/polymc-1.3.1.ebuild games-action/polymc/polymc-9999.ebuild X-VCS-Directories: games-action/polymc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 69101d81e5b71f22cf39afe6cf3a01a2e670ca08 X-VCS-Branch: master Date: Wed, 1 Jun 2022 00:10:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e257599b-15b9-43ee-8ae4-3a4dc7672cd0 X-Archives-Hash: 3a7e278fc39aecd00ed61d3d842c041e commit: 69101d81e5b71f22cf39afe6cf3a01a2e670ca08 Author: Thiago Donato Ferreira gmail com> AuthorDate: Tue May 31 23:47:02 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 1 00:10:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69101d81 games-action/polymc: remove some troublesome compile flags Remove -Werror and -D_FORTIFY_SOURCE from the upstream CMakeLists, to prevent breakage with user-defined flags. Closes: https://bugs.gentoo.org/848765 Signed-off-by: Thiago Donato Ferreira gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25713 Signed-off-by: Sam James gentoo.org> games-action/polymc/polymc-1.3.0.ebuild | 4 ++++ games-action/polymc/polymc-1.3.1.ebuild | 4 ++++ games-action/polymc/polymc-9999.ebuild | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/games-action/polymc/polymc-1.3.0.ebuild b/games-action/polymc/polymc-1.3.0.ebuild index abe73ed34f30..1034a30e5df0 100644 --- a/games-action/polymc/polymc-1.3.0.ebuild +++ b/games-action/polymc/polymc-1.3.0.ebuild @@ -79,6 +79,10 @@ RDEPEND=" src_prepare() { cmake_src_prepare + + # Prevent conflicting with the user's flags + # See https://bugs.gentoo.org/848765 for more info + sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed' } src_configure(){ diff --git a/games-action/polymc/polymc-1.3.1.ebuild b/games-action/polymc/polymc-1.3.1.ebuild index abe73ed34f30..1034a30e5df0 100644 --- a/games-action/polymc/polymc-1.3.1.ebuild +++ b/games-action/polymc/polymc-1.3.1.ebuild @@ -79,6 +79,10 @@ RDEPEND=" src_prepare() { cmake_src_prepare + + # Prevent conflicting with the user's flags + # See https://bugs.gentoo.org/848765 for more info + sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed' } src_configure(){ diff --git a/games-action/polymc/polymc-9999.ebuild b/games-action/polymc/polymc-9999.ebuild index abe73ed34f30..1034a30e5df0 100644 --- a/games-action/polymc/polymc-9999.ebuild +++ b/games-action/polymc/polymc-9999.ebuild @@ -79,6 +79,10 @@ RDEPEND=" src_prepare() { cmake_src_prepare + + # Prevent conflicting with the user's flags + # See https://bugs.gentoo.org/848765 for more info + sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed' } src_configure(){