diff options
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch new file mode 100644 index 0000000000..c5b95eb5bf --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 67c638c7e209554d9b19627e9402a20fdabead21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 4 Dec 2015 13:19:28 +0200 | ||
4 | Subject: [PATCH] configure.ac: fix sed command | ||
5 | |||
6 | The "sed 's/.bak//g'" matchs "bitbake", which would cause strange errors | ||
7 | when the S contains "bitbake", fix to "sed 's/\.bak$//'`" | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | --- | ||
14 | configure.ac | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index e634236..dc9e6a8 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -549,7 +549,7 @@ if test "$enable_tools" != "no" || test "$enable_doc" != "no"; then | ||
22 | dnl replace libopts-generated files with distributed backups, if present | ||
23 | missing_baks= | ||
24 | for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do | ||
25 | - nam=`echo $i|sed 's/.bak//g'` | ||
26 | + nam=`echo $i|sed 's/\.bak$//'` | ||
27 | if test -f $i;then | ||
28 | cp -f $i $nam | ||
29 | else | ||
30 | -- | ||
31 | 2.6.2 | ||
32 | |||