diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/biew/files/biew-610-fix_localedep-1.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/biew/files/biew-610-fix_localedep-1.patch')
-rw-r--r-- | dev-util/biew/files/biew-610-fix_localedep-1.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/biew/files/biew-610-fix_localedep-1.patch b/dev-util/biew/files/biew-610-fix_localedep-1.patch new file mode 100644 index 000000000000..babe994e070a --- /dev/null +++ b/dev-util/biew/files/biew-610-fix_localedep-1.patch @@ -0,0 +1,26 @@ +The configure script of biew-6.1.0 fails with + Checking for C compiler name ... gcc-Version +if using the de_DE.UTF-8 locale and sys-devel/gcc-4.5.2. It may fail with other +locales and/or compilers, too. The problem occurs due to the fact that the +string “gcc version” written by gcc for ‘gcc -v’ is translated according to the +language (German in the case mentioned above). + +This patch makes sure that the POSIX locale is used when the biew configure +script checks for the name of the compiler. This allows the configure script to +parse the output properly. + + –nico + + +diff -Naur biew-610.orig/configure biew-610/configure +--- biew-610.orig/configure 2009-11-13 15:52:36.000000000 +0100 ++++ biew-610/configure 2011-01-13 11:11:59.000000000 +0100 +@@ -497,7 +497,7 @@ + + _cdefos="-DDATADIR='\"$_datadir\"'" + +-cc_name=`$_cc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1` ++cc_name=`LC_ALL=POSIX $_cc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1` + cc_version=`$_cc -dumpversion` + + echocheck "C compiler name" |