From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1446690-garchives=archives.gentoo.org@lists.gentoo.org>
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 C5A19158020
	for <garchives@archives.gentoo.org>; Thu, 13 Oct 2022 14:49:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1D9C9E0839;
	Thu, 13 Oct 2022 14:49:48 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 02DC9E0839
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 14:49:48 +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 2228A340E33
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 14:49:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 719735F1
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 14:49:45 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1665672428.6213a0be95909859a98c6ae60febb35de2e8f2fd.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/clang-common/clang-common-15.0.2-r1.ebuild sys-devel/clang-common/clang-common-15.0.2-r2.ebuild sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
X-VCS-Directories: sys-devel/clang-common/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 6213a0be95909859a98c6ae60febb35de2e8f2fd
X-VCS-Branch: master
Date: Thu, 13 Oct 2022 14:49:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5df818a3-a3c6-421a-8d6c-23dfd9edb952
X-Archives-Hash: dc07f4ddf3fa11cb9f33a4fb4ebbe8b7

commit:     6213a0be95909859a98c6ae60febb35de2e8f2fd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 14:47:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 14:47:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6213a0be

sys-devel/clang-common: drop -Werror=strict-prototypes for 15.x

We're keeping -Werror=deprecated-non-prototype for 15.x as there's no
better option though, as we need some way to emulate Clang 16's strict
behaviour in Clang 15, even though this overshoots it a bit.

But it isn't ideal as it still affects e.g. -std=c89.

Bug: https://bugs.gentoo.org/876985
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{clang-common-15.0.2-r1.ebuild => clang-common-15.0.2-r2.ebuild}     | 1 -
 sys-devel/clang-common/clang-common-15.0.3.9999.ebuild                   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild b/sys-devel/clang-common/clang-common-15.0.2-r2.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
rename to sys-devel/clang-common/clang-common-15.0.2-r2.ebuild
index 515cb176e7bd..40df6f0ec79b 100644
--- a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.2-r2.ebuild
@@ -100,7 +100,6 @@ src_install() {
 			-Werror=incompatible-function-pointer-types
 
 			# constructs banned by C2x
-			-Werror=strict-prototypes
 			-Werror=deprecated-non-prototype
 		EOF
 

diff --git a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
index 841ceedb1077..d5e7941a5fc8 100644
--- a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
@@ -99,7 +99,6 @@ src_install() {
 			-Werror=incompatible-function-pointer-types
 
 			# constructs banned by C2x
-			-Werror=strict-prototypes
 			-Werror=deprecated-non-prototype
 		EOF