From 4c2ebbf4b8bc660beb98cc2d845c73375d6e4f50 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 7 Dec 2020 13:49:21 +0100 Subject: [PATCH] app-shells/bash: Fixed parallel make issue Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Lars Wendler --- app-shells/bash/bash-5.1.ebuild | 1 + .../bash/files/bash-5.1-parallel_make.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 app-shells/bash/files/bash-5.1-parallel_make.patch diff --git a/app-shells/bash/bash-5.1.ebuild b/app-shells/bash/bash-5.1.ebuild index b99647b1aed76..5d6585b3abe72 100644 --- a/app-shells/bash/bash-5.1.ebuild +++ b/app-shells/bash/bash-5.1.ebuild @@ -103,6 +103,7 @@ src_prepare() { touch -r . doc/* || die eapply -p0 "${PATCHES[@]}" + eapply "${FILESDIR}/${PN}-5.1-parallel_make.patch" eapply_user } diff --git a/app-shells/bash/files/bash-5.1-parallel_make.patch b/app-shells/bash/files/bash-5.1-parallel_make.patch new file mode 100644 index 0000000000000..b341a8a06e28f --- /dev/null +++ b/app-shells/bash/files/bash-5.1-parallel_make.patch @@ -0,0 +1,15 @@ +bashline.c:65:10: fatal error: builtins/builtext.h: No such file or directory + 65 | #include "builtins/builtext.h" /* for read_builtin */ + | ^~~~~~~~~~~~~~~~~~~~~ + +--- bash-5.1/Makefile.in ++++ bash-5.1/Makefile.in +@@ -584,6 +584,8 @@ + ls -l $(Program) + -$(SIZE) $(Program) + ++$(CSOURCES): $(DEFDIR)/builtext.h ++ + .build: $(SOURCES) config.h Makefile version.h $(VERSPROG) + @echo + @echo " ***********************************************************"