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 " ***********************************************************"