summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/files/locale.patch
blob: aa2a74349f2f7fef6da234abb0ff5d6c5ad68829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`