aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/lvm/2.02.188/lvm2-015-mksh_build.patch')
-rw-r--r--patches/lvm/2.02.188/lvm2-015-mksh_build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/lvm/2.02.188/lvm2-015-mksh_build.patch b/patches/lvm/2.02.188/lvm2-015-mksh_build.patch
new file mode 100644
index 0000000..49c6853
--- /dev/null
+++ b/patches/lvm/2.02.188/lvm2-015-mksh_build.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/686652
+
+--- LVM2.2.02.184/tools/Makefile.in
++++ LVM2.2.02.184/tools/Makefile.in
+@@ -220,6 +220,6 @@
+ echo "/* Do not edit. This file is generated by the Makefile. */" && \
+ echo -en "const char _command_input[] =\n\n\"" && \
+ $(EGREP) -v '^#|\-\-\-|^$$' $(srcdir)/command-lines.in | $(AWK) 'BEGIN {ORS = "\\n\"\n\""} //' && \
+- echo "\\n\";" \
++ printf "%s\n" "\\n\";" \
+ ) > $@
+
+ $(SOURCES:%.c=%.d) $(SOURCES2:%.c=%.d): command-lines-input.h command-count.h cmds.h