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 DF241158094 for ; Wed, 17 Aug 2022 19:52:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00880E08CA; Wed, 17 Aug 2022 19:52:33 +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 CEB83E08CA for ; Wed, 17 Aug 2022 19:52:33 +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 824383414F1 for ; Wed, 17 Aug 2022 19:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA292568 for ; Wed, 17 Aug 2022 19:52:30 +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: <1660765944.fcb39bd3c5102ee6e87719d38df2625f36513611.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-9.0-fix-create-timer-for-cros-compiling.patch app-editors/vim-core/vim-core-9.0.0099.ebuild X-VCS-Directories: app-editors/vim-core/files/ app-editors/vim-core/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fcb39bd3c5102ee6e87719d38df2625f36513611 X-VCS-Branch: master Date: Wed, 17 Aug 2022 19:52:30 +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: 8ff9260d-b9d1-4e40-b1ce-4d1726950b58 X-Archives-Hash: 1773b1440d67e254d415351ff0a606fd commit: fcb39bd3c5102ee6e87719d38df2625f36513611 Author: Varsha Teratipally google com> AuthorDate: Tue Aug 2 23:11:58 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 17 19:52:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb39bd3 app-editors/vim-core: fix cross-compilation (configure check for timer_create) Problem: Configure check for timer_create may give wrong error. Solution: Give a warning instead of an error. Closes: https://github.com/gentoo/gentoo/pull/26713 Signed-off-by: Varsha Teratipally google.com> Signed-off-by: Sam James gentoo.org> ...m-9.0-fix-create-timer-for-cros-compiling.patch | 28 ++++++++++++++++++++++ app-editors/vim-core/vim-core-9.0.0099.ebuild | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch b/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch new file mode 100644 index 000000000000..5247a80754cc --- /dev/null +++ b/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch @@ -0,0 +1,28 @@ +From bba26c9ed9d4ddc82afd0343f145dc9e14b91498 Mon Sep 17 00:00:00 2001 +From: Varsha Teratipally +Date: Tue, 2 Aug 2022 22:18:29 +0000 +Subject: [PATCH] Configure check for timer_create may give wrong error. +Give a warning instead of an error + +Partial solution from github.com/vim/vim/commit/5f6cae8b8a49c435556e32f84d067cd0b4d28e4c + +--- + src/configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/configure.ac b/src/configure.ac +index e8522ec05..41f41dee3 100644 +--- a/src/configure.ac ++++ b/src/configure.ac +@@ -3850,7 +3850,7 @@ static void set_flag(union sigval sv) {} + ])], + vim_cv_timer_create=yes, + vim_cv_timer_create=no), +- AC_MSG_ERROR(cross-compiling: please set 'vim_cv_timer_create') ++ AC_MSG_WARN(cross-compiling: please set 'vim_cv_timer_create') + )] + ) + +-- + + diff --git a/app-editors/vim-core/vim-core-9.0.0099.ebuild b/app-editors/vim-core/vim-core-9.0.0099.ebuild index f01043a5b22c..8bea948c71c7 100644 --- a/app-editors/vim-core/vim-core-9.0.0099.ebuild +++ b/app-editors/vim-core/vim-core-9.0.0099.ebuild @@ -42,7 +42,8 @@ pkg_setup() { src_prepare() { if [[ ${PV} != 9999* ]] ; then # Gentoo patches to fix runtime issues, cross-compile errors, etc - eapply "${WORKDIR}/vim-patches-vim-9.0.0049-patches" + eapply "${WORKDIR}"/vim-patches-vim-9.0.0049-patches + eapply "${FILESDIR}"/vim-9.0-fix-create-timer-for-cros-compiling.patch fi # Fixup a script to use awk instead of nawk