mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/lvm2: Fixed build with app-shells/mksh
Thanks-to: Alexander Tsoy <alexander@tsoy.me> Closes: https://bugs.gentoo.org/686652 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
13
sys-fs/lvm2/files/lvm2-2.02.184-mksh_build.patch
Normal file
13
sys-fs/lvm2/files/lvm2-2.02.184-mksh_build.patch
Normal file
@@ -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
|
||||
@@ -49,7 +49,6 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
|
||||
S="${WORKDIR}/${PN/lvm/LVM}.${PV}"
|
||||
|
||||
PATCHES=(
|
||||
@@ -70,6 +69,7 @@ PATCHES=(
|
||||
#"${FILESDIR}"/${PN}-2.02.145-mkdev.patch #580062 # Merged upstream
|
||||
"${FILESDIR}"/${PN}-2.02.184-dmeventd-no-idle-exit.patch
|
||||
#"${FILESDIR}"/${PN}-2.02.184-allow-reading-metadata-with-invalid-creation_time.patch #682380 # merged upstream
|
||||
"${FILESDIR}"/${PN}-2.02.184-mksh_build.patch #686652
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user