app-text/discount: parallel build fix from upstream

Closes: https://bugs.gentoo.org/728930
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2020-06-26 10:53:19 -05:00
parent 3d75bc5dee
commit 28625ec7e0
2 changed files with 14 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="minimal test"
RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/gethopt-undefined.patch )
src_prepare() {
default

View File

@@ -0,0 +1,12 @@
diff -aur discount-2.2.6/Makefile.in discount-2.2.6-new/Makefile.in
--- discount-2.2.6/Makefile.in 2019-04-16 03:28:20.000000000 +1200
+++ discount-2.2.6-new/Makefile.in 2020-06-21 07:39:32.256757588 +1200
@@ -139,7 +139,7 @@
pandoc_headers.o: tools/pandoc_headers.c config.h
$(BUILD) -c -o pandoc_headers.o tools/pandoc_headers.c
-pandoc_headers: pandoc_headers.o
+pandoc_headers: pandoc_headers.o $(MKDLIB)
$(LINK) -o pandoc_headers pandoc_headers.o $(COMMON) -lmarkdown
branch.o: tools/branch.c config.h