From 28625ec7e0e405c313b34ac9a08a85ee50cc1982 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Fri, 26 Jun 2020 10:53:19 -0500 Subject: [PATCH] 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 --- app-text/discount/discount-2.2.6.ebuild | 2 ++ app-text/discount/files/gethopt-undefined.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 app-text/discount/files/gethopt-undefined.patch diff --git a/app-text/discount/discount-2.2.6.ebuild b/app-text/discount/discount-2.2.6.ebuild index 9e5705492517e..9cb5d5ea9f157 100644 --- a/app-text/discount/discount-2.2.6.ebuild +++ b/app-text/discount/discount-2.2.6.ebuild @@ -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 diff --git a/app-text/discount/files/gethopt-undefined.patch b/app-text/discount/files/gethopt-undefined.patch new file mode 100644 index 0000000000000..5b081877a7a2c --- /dev/null +++ b/app-text/discount/files/gethopt-undefined.patch @@ -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