summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch17
-rw-r--r--sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild3
2 files changed, 19 insertions, 1 deletions
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() {