mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/mhddfs: fix parallel builds
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> Reported-by: Toralf Förster <toralf@gentoo.org> Bug: https://bugs.gentoo.org/880051 Closes: https://bugs.gentoo.org/911984
This commit is contained in:
17
sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch
Normal file
17
sys-fs/mhddfs/files/mhddfs-0.1.39-parallel-build.patch
Normal file
@@ -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:
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user