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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C87FA138334 for ; Tue, 22 Oct 2019 09:17:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A93E6E0AA0; Tue, 22 Oct 2019 09:17:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D57EE0AA0 for ; Tue, 22 Oct 2019 09:17:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 858F034C1D8 for ; Tue, 22 Oct 2019 09:17:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D292E72F for ; Tue, 22 Oct 2019 09:17:25 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1571735841.aed27473c455465e20eff60f0b623a6914a1e268.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/, x11-drivers/nvidia-drivers/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild X-VCS-Directories: x11-drivers/nvidia-drivers/ x11-drivers/nvidia-drivers/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: aed27473c455465e20eff60f0b623a6914a1e268 X-VCS-Branch: master Date: Tue, 22 Oct 2019 09:17:25 +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: 590ff04d-9da5-4fe1-b4f1-120959fafe9b X-Archives-Hash: ff44541f74a99714e68b56ca5c9327b8 commit: aed27473c455465e20eff60f0b623a6914a1e268 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Oct 22 09:11:51 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Oct 22 09:17:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed27473 x11-drivers/nvidia-drivers: Fix conftest.sh locale expectations conftest.sh in 440.* expects to find "$file: No such file or directory" in compile test output for kernel headers, but with LC_ALL set, its translations will not trigger that, resulting in false positives for certain headers where the test intended to rule out false negatives. Fix this by setting the default locale in conftest.sh. Package-Manager: Portage-2.3.77, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/698238 Signed-off-by: Jeroen Roovers gentoo.org> .../nvidia-drivers/files/nvidia-drivers-440.26-locale.patch | 13 +++++++++++++ x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild | 3 +++ 2 files changed, 16 insertions(+) diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch new file mode 100644 index 00000000000..aa2a74349f2 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch @@ -0,0 +1,13 @@ +--- a/kernel/conftest.sh ++++ b/kernel/conftest.sh +@@ -6,6 +6,10 @@ + SCRIPTDIR=`dirname $0` + cd $SCRIPTDIR + ++# translate_and_compile_header_files() expects the default locale ++# https://bugs.gentoo.org/698238 ++export LC_ALL=C ++ + CC="$1" + ARCH=$2 + ISYSTEM=`$CC -print-file-name=include 2> /dev/null` diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild index 2e87b035eec..529819532dc 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild @@ -83,6 +83,9 @@ RDEPEND=" " QA_PREBUILT="opt/* usr/lib*" S=${WORKDIR}/ +PATCHES=( + "${FILESDIR}"/${PN}-440.26-locale.patch +) nvidia_drivers_versions_check() { if use amd64 && has_multilib_profile && \