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 89B0F158020 for ; Fri, 4 Nov 2022 03:49:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C996BE087E; Fri, 4 Nov 2022 03:49:14 +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 AAF7AE0882 for ; Fri, 4 Nov 2022 03:49:14 +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 E3E7D341301 for ; Fri, 4 Nov 2022 03:49:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 530766F2 for ; Fri, 4 Nov 2022 03:49:12 +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: <1667532307.9f5d3532993ce5e69c1726d6cc077237801f338d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/, app-editors/vim-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch app-editors/vim-core/vim-core-9.0.0828-r1.ebuild app-editors/vim-core/vim-core-9.0.0828.ebuild X-VCS-Directories: app-editors/vim-core/ app-editors/vim-core/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9f5d3532993ce5e69c1726d6cc077237801f338d X-VCS-Branch: master Date: Fri, 4 Nov 2022 03:49:12 +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: 292f9c4c-3908-4339-afe4-9b5b5da879a6 X-Archives-Hash: cf7caaaf000812890c1627250227c19d commit: 9f5d3532993ce5e69c1726d6cc077237801f338d Author: Sam James gentoo org> AuthorDate: Fri Nov 4 03:24:18 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Nov 4 03:25:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5d3532 app-editors/vim-core: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> .../files/vim-0.0.0828-configure-clang16.patch | 28 ++++++++++++++++++++++ ...9.0.0828.ebuild => vim-core-9.0.0828-r1.ebuild} | 4 ++++ 2 files changed, 32 insertions(+) diff --git a/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch b/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch new file mode 100644 index 000000000000..e202a9dd3caa --- /dev/null +++ b/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch @@ -0,0 +1,28 @@ +https://github.com/vim/vim/pull/11496 + +From 360b569f86b851c37e32b7cfaec079823188ff27 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 4 Nov 2022 03:18:23 +0000 +Subject: [PATCH] configure.ac: Fix -Wimplicit-int + +Clang 16 makes -Wimplicit-int an error by default. Fixes errors like: +``` +error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] +``` + +We already use proper declarations with every other test anyway, so +let's be consistent. + +Signed-off-by: Sam James +--- a/src/configure.ac ++++ b/src/configure.ac +@@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is defined (used for SGI only) + AC_MSG_CHECKING(for struct sigcontext) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include +-test_sig() ++int test_sig() + { + struct sigcontext *scont; + scont = (struct sigcontext *)0; + diff --git a/app-editors/vim-core/vim-core-9.0.0828.ebuild b/app-editors/vim-core/vim-core-9.0.0828-r1.ebuild similarity index 99% rename from app-editors/vim-core/vim-core-9.0.0828.ebuild rename to app-editors/vim-core/vim-core-9.0.0828-r1.ebuild index 9412ba51653d..e078361724fc 100644 --- a/app-editors/vim-core/vim-core-9.0.0828.ebuild +++ b/app-editors/vim-core/vim-core-9.0.0828-r1.ebuild @@ -30,6 +30,10 @@ IUSE="nls acl minimal" DEPEND=">=sys-libs/ncurses-5.2-r2:0" BDEPEND="sys-devel/autoconf" +PATCHES=( + "${FILESDIR}"/vim-0.0.0828-configure-clang16.patch +) + pkg_setup() { # people with broken alphabets run into trouble. bug #82186. unset LANG LC_ALL