Files
gentoo/app-misc/fdutils/files/fdutils-5.5.20060227-r1-parallel.patch
Robin H. Johnson f968770c94 app-misc/fdutils: fix parallel compile & add 20081027 patch
Fix parallel compile .a target, and add upstream's 20081027 patch that
was missed otherwise, as well as a compile-fix for the 20081027 patch.

Add myself as maintainer, because I've used this in the past, and used
to be one of the kernel-misc maintainers.

Fixes: https://bugs.gentoo.org/315577
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2019-03-17 15:37:11 -07:00

19 lines
607 B
Diff

The Makefile implicit archive format ('Archives' in make.info) from, e.g.
'libfdutils.a($(LIBFILES))' does not support parallel operations. Convert to
parallel-safe structure.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
--- fdutils-5.5-20060227.orig/src/Makefile.in 2019-03-17 13:25:43.891918479 -0700
+++ fdutils-5.5-20060227/src/Makefile.in 2019-03-17 13:30:05.067424657 -0700
@@ -67,7 +67,7 @@
lex.%.c: %.lex
lex -P$* $<
-libfdutils.a: libfdutils.a($(LIBFILES))
- ranlib libfdutils.a
+libfdutils.a: $(LIBFILES)
+ ar rcs $@ $^
floppycontrol.o getfdprm setfdprm: /usr/include/linux/fd.h