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 | 26 |
1 files changed, 13 insertions, 13 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 index c5b95eb5bf..f0b7ca2ec8 100644 --- 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 | |||
@@ -1,6 +1,6 @@ | |||
1 | From 67c638c7e209554d9b19627e9402a20fdabead21 Mon Sep 17 00:00:00 2001 | 1 | From eaab55bb6d48643163eebbc9ca575a9ca2a8e03f Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 4 Dec 2015 13:19:28 +0200 | 3 | Date: Tue, 21 Feb 2017 17:10:07 +0200 |
4 | Subject: [PATCH] configure.ac: fix sed command | 4 | Subject: [PATCH] configure.ac: fix sed command |
5 | 5 | ||
6 | The "sed 's/.bak//g'" matchs "bitbake", which would cause strange errors | 6 | The "sed 's/.bak//g'" matchs "bitbake", which would cause strange errors |
@@ -15,18 +15,18 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 16 | ||
17 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
18 | index e634236..dc9e6a8 100644 | 18 | index 6907b21..7c70d9e 100644 |
19 | --- a/configure.ac | 19 | --- a/configure.ac |
20 | +++ b/configure.ac | 20 | +++ b/configure.ac |
21 | @@ -549,7 +549,7 @@ if test "$enable_tools" != "no" || test "$enable_doc" != "no"; then | 21 | @@ -948,7 +948,7 @@ YEAR=`date +%Y` |
22 | dnl replace libopts-generated files with distributed backups, if present | 22 | AC_SUBST([YEAR], $YEAR) |
23 | missing_baks= | 23 | |
24 | for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do | 24 | for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do |
25 | - nam=`echo $i|sed 's/.bak//g'` | 25 | - nam=$(basename $i|sed 's/.bak//g') |
26 | + nam=`echo $i|sed 's/\.bak$//'` | 26 | + nam=$(basename $i|sed 's/\.bak$//') |
27 | if test -f $i;then | 27 | if test "$create_libopts_links" = "yes";then |
28 | cp -f $i $nam | 28 | rm -f "src/$nam" |
29 | else | 29 | AC_CONFIG_LINKS([src/$nam:$i]) |
30 | -- | 30 | -- |
31 | 2.6.2 | 31 | 2.11.0 |
32 | 32 | ||