diff options
Diffstat (limited to 'recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch')
-rw-r--r-- | recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch b/recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch new file mode 100644 index 0000000..44a9934 --- /dev/null +++ b/recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From eb93aa7b986c84da60a3db40afb29d1a70c50223 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Sat, 17 Jan 2015 17:02:15 +0000 | ||
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 | --- | ||
13 | configure.ac | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index c6818a0..1c4582d 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -466,7 +466,7 @@ if test "$NEED_LIBOPTS_DIR" = "true";then | ||
21 | dnl replace libopts-generated files with distributed backups, if present | ||
22 | missing_baks= | ||
23 | for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do | ||
24 | - nam=`echo $i|sed 's/.bak//g'` | ||
25 | + nam=`echo $i|sed 's/\.bak$//'` | ||
26 | if test -f $i;then | ||
27 | cp -f $i $nam | ||
28 | else | ||
29 | -- | ||
30 | 2.0.1 | ||
31 | |||