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 31B87158020 for ; Sun, 20 Nov 2022 22:18:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AB3EE093E; Sun, 20 Nov 2022 22:18:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 64FBBE093E for ; Sun, 20 Nov 2022 22:18:42 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 997733411EE for ; Sun, 20 Nov 2022 22:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 390D574D for ; Sun, 20 Nov 2022 22:18:40 +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: <1668982709.b0d37e9ee70ba7c49e212443aa55c6123949aa65.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/teco/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/teco/teco-36_p19940820.ebuild X-VCS-Directories: app-editors/teco/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b0d37e9ee70ba7c49e212443aa55c6123949aa65 X-VCS-Branch: master Date: Sun, 20 Nov 2022 22:18:40 +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: ae0f23b0-110c-48b7-bf74-e34559a0bfe3 X-Archives-Hash: b8656a6aaa06edba27149f15eba7c7b6 commit: b0d37e9ee70ba7c49e212443aa55c6123949aa65 Author: Sam James gentoo org> AuthorDate: Sun Nov 20 22:16:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Nov 20 22:18:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d37e9e [QA] Revert "app-editors/teco: Disable overzealous CFLAGS" This reverts commit 4e63e475293ba270157d0ddc6e9e2adc40ec9b3b. This isn't an acceptable fix for Clang 16 / GCC 14 issues, not least because these usually indicate likely runtime failure. While K&R style declarations can be excused for old code, implicit function declarations simply don't work in any C version. See the documentation at https://wiki.gentoo.org/wiki/Modern_C_porting for more information on how to fix. Bug: https://bugs.gentoo.org/879041 Signed-off-by: Sam James gentoo.org> app-editors/teco/teco-36_p19940820.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/teco/teco-36_p19940820.ebuild b/app-editors/teco/teco-36_p19940820.ebuild index b3e32b905ec3..d37ed3f84e1f 100644 --- a/app-editors/teco/teco-36_p19940820.ebuild +++ b/app-editors/teco/teco-36_p19940820.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -37,7 +37,7 @@ src_prepare() { } src_compile() { - append-flags -ansi -Wno-implicit-function-declaration -Wno-implicit-int + append-flags -ansi append-cppflags -D_POSIX_SOURCE emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" }