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 20C64158094 for ; Tue, 11 Oct 2022 08:56:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66166E086A; Tue, 11 Oct 2022 08:56:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 4E949E086A for ; Tue, 11 Oct 2022 08:56:38 +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 85375340821 for ; Tue, 11 Oct 2022 08:56:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9AC6617 for ; Tue, 11 Oct 2022 08:56:34 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665478562.e7878ba74f45f95af5d6b354ffb6d1d67d503c46.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/vncrec/vncrec-0.2-r3.ebuild X-VCS-Directories: net-misc/vncrec/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: e7878ba74f45f95af5d6b354ffb6d1d67d503c46 X-VCS-Branch: master Date: Tue, 11 Oct 2022 08:56:34 +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: c11dfde7-808b-47e0-ae1f-4ad79ccce6b8 X-Archives-Hash: 1f8178d54cf7a7dffd25a877b4ebdc93 commit: e7878ba74f45f95af5d6b354ffb6d1d67d503c46 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Oct 11 08:25:23 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Oct 11 08:56:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7878ba7 net-misc/vncrec: pass -std=gnu89, fixup previous clang fix Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). wrt previous fix, thought could get away using a more precise -Wno-error but gcc does not like it. Fixes: 0491a4264baf9951dd726b96094459a7b3363b95 Signed-off-by: Ionen Wolkens gentoo.org> net-misc/vncrec/vncrec-0.2-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net-misc/vncrec/vncrec-0.2-r3.ebuild b/net-misc/vncrec/vncrec-0.2-r3.ebuild index 66d88e91b811..5ddfaf0d7f86 100644 --- a/net-misc/vncrec/vncrec-0.2-r3.ebuild +++ b/net-misc/vncrec/vncrec-0.2-r3.ebuild @@ -45,7 +45,8 @@ src_configure() { # XtErrorHandler usage matches docs (seems right), but headers "may" add # __attribute__((noreturn)) giving an incompatible type error with clang-16 # (could alternatively use private _X_NORETURN but this may be fragile). - append-cflags -Wno-error=incompatible-function-pointer-types #871000 + append-cflags -Wno-error=incompatible-pointer-types #871000 + append-cflags -std=gnu89 # old codebase, incompatible with c2x CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die