From a764a648b1f010c1faedb3ef361a1daa74a69d44 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 29 Jan 2020 12:46:00 +0000 Subject: gzip: Fix failure from recent shell changes We want the shell preserved as /bin/sh, tweak the makefile to achieve this. Signed-off-by: Richard Purdie --- recipes-extended/gzip/gzip-1.3.12/fix-shell.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-extended/gzip/gzip-1.3.12/fix-shell.patch (limited to 'recipes-extended/gzip/gzip-1.3.12/fix-shell.patch') diff --git a/recipes-extended/gzip/gzip-1.3.12/fix-shell.patch b/recipes-extended/gzip/gzip-1.3.12/fix-shell.patch new file mode 100644 index 0000000..13b479b --- /dev/null +++ b/recipes-extended/gzip/gzip-1.3.12/fix-shell.patch @@ -0,0 +1,16 @@ +We want /bin/sh left as the shell, not bash for example +Signed-off-by: Richard Purdie +Upstream-Status: Inappropriate [fixed differently in new versions] + +Index: gzip-1.3.12/Makefile.am +=================================================================== +--- gzip-1.3.12.orig/Makefile.am ++++ gzip-1.3.12/Makefile.am +@@ -55,7 +55,6 @@ gzip.doc.gz: gzip.doc + SUFFIXES = .in + .in: + sed \ +- -e 's|/bin/sh|$(SHELL)|g' \ + -e 's|BINDIR|$${GZIP_BINDIR-'\''$(bindir)'\''}|g' \ + -e 's|[@]VERSION@|$(VERSION)|g' \ + $(srcdir)/$@.in >$@ -- cgit v1.2.3-54-g00ecf