diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/fix_am_rootsbindir.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/fix_am_rootsbindir.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/fix_am_rootsbindir.patch b/meta/recipes-core/glibc/glibc/fix_am_rootsbindir.patch new file mode 100644 index 0000000000..668e8bf678 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/fix_am_rootsbindir.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | sysdeps/gnu/configure.ac: handle correctly $libc_cv_rootsbindir | ||
2 | |||
3 | Upstream-Status:Pending | ||
4 | Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
5 | |||
6 | Index: git/sysdeps/gnu/configure | ||
7 | =================================================================== | ||
8 | --- git.orig/sysdeps/gnu/configure 2014-08-27 07:24:38.572070587 +0000 | ||
9 | +++ git/sysdeps/gnu/configure 2014-08-27 07:24:41.308070587 +0000 | ||
10 | @@ -32,6 +32,6 @@ | ||
11 | else | ||
12 | libc_cv_localstatedir=$localstatedir | ||
13 | fi | ||
14 | - libc_cv_rootsbindir=/sbin | ||
15 | + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin | ||
16 | ;; | ||
17 | esac | ||
18 | Index: git/sysdeps/gnu/configure.ac | ||
19 | =================================================================== | ||
20 | --- git.orig/sysdeps/gnu/configure.ac 2014-08-27 07:24:38.572070587 +0000 | ||
21 | +++ git/sysdeps/gnu/configure.ac 2014-08-27 07:24:41.308070587 +0000 | ||
22 | @@ -21,6 +21,6 @@ | ||
23 | else | ||
24 | libc_cv_localstatedir=$localstatedir | ||
25 | fi | ||
26 | - libc_cv_rootsbindir=/sbin | ||
27 | + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin | ||
28 | ;; | ||
29 | esac | ||