commit: 7660b28a2f957a960bcdb17f55768fa5d93c5537 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> AuthorDate: Thu Aug 10 08:52:36 2023 +0000 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> CommitDate: Thu Aug 10 08:52:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7660b28a
sys-fs/mhddfs: fix parallel builds Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org> Reported-by: Toralf Förster <toralf <AT> gentoo.org> Bug: https://bugs.gentoo.org/880051 Closes: https://bugs.gentoo.org/911984 sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch | 17 +++++++++++++++++ sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch b/sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch new file mode 100644 index 000000000000..b9c2d19603fe --- /dev/null +++ b/sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch @@ -0,0 +1,17 @@ +Sometimes obj directory was not created during +parallel builds + +Related bugreports: +https://bugs.gentoo.org/880051 +https://bugs.gentoo.org/911984 + +--- a/Makefile 2023-08-10 11:43:39.826589819 +0300 ++++ b/Makefile 2023-08-10 11:43:50.121722774 +0300 +@@ -90,6 +90,7 @@ + touch $@ + + obj/%.o: src/%.c ++ mkdir -p obj + $(CC) $(CFLAGS) -c $< -o $@ + + clean: diff --git a/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild b/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild index 201ecb8f7ae5..a8fc5266b8a3 100644 --- a/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild +++ b/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,7 @@ PATCHES=( "${FILESDIR}/${PN}-respect-compiler-vars.patch" "${FILESDIR}/${P}-segfault-fix.patch" "${FILESDIR}/${P}-xattr.patch" + "${FILESDIR}/${P}-parallel-build.patch" ) src_compile() {
