From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1429770-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 8EA9E158095
	for <garchives@archives.gentoo.org>; Tue, 23 Aug 2022 05:24:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 88561E0839;
	Tue, 23 Aug 2022 05:24:24 +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 30275E0828
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Aug 2022 05:24:22 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 4C379340E25
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Aug 2022 05:24:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CC16F59F
	for <gentoo-commits@lists.gentoo.org>; Tue, 23 Aug 2022 05:24:18 +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: <1661232238.ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gvim/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/gvim/gvim-9.0.0099.ebuild
X-VCS-Directories: app-editors/gvim/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4
X-VCS-Branch: master
Date: Tue, 23 Aug 2022 05:24:18 +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: a37bf565-222a-40c9-ba4c-e64591c45a12
X-Archives-Hash: b2e641d825598dfbd6fb1eb84b297d32

commit:     ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Wed Aug 17 23:18:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 05:23:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed9f9622

app-editor/gvim: provide configure defaults when cross compiling

Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/26900
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/gvim/gvim-9.0.0099.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/app-editors/gvim/gvim-9.0.0099.ebuild b/app-editors/gvim/gvim-9.0.0099.ebuild
index 215bbad953eb..05ff265c0379 100644
--- a/app-editors/gvim/gvim-9.0.0099.ebuild
+++ b/app-editors/gvim/gvim-9.0.0099.ebuild
@@ -247,6 +247,14 @@ src_configure() {
 		export ac_cv_func_sigaction=no
 	fi
 
+	if tc-is-cross-compiler ; then
+		export vim_cv_getcwd_broken=no \
+			   vim_cv_memmove_handles_overlap=yes \
+			   vim_cv_stat_ignores_slash=yes \
+			   vim_cv_terminfo=yes \
+			   vim_cv_toupper_broken=no
+	fi
+
 	econf \
 		--with-modified-by=Gentoo-${PVR} \
 		--with-vim-name=gvim \