summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-06-26 10:53:19 -0500
committerBen Kohler <bkohler@gentoo.org>2020-06-26 10:53:36 -0500
commit28625ec7e0e405c313b34ac9a08a85ee50cc1982 (patch)
tree20a6fd2f74f8ab6cad24d98c3f1658d42950a89d /app-text/discount
parentsys-apps/yarn: remove old (diff)
downloadgentoo-28625ec7e0e405c313b34ac9a08a85ee50cc1982.tar.gz
gentoo-28625ec7e0e405c313b34ac9a08a85ee50cc1982.tar.bz2
gentoo-28625ec7e0e405c313b34ac9a08a85ee50cc1982.zip
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>
Diffstat (limited to 'app-text/discount')
-rw-r--r--app-text/discount/discount-2.2.6.ebuild2
-rw-r--r--app-text/discount/files/gethopt-undefined.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/app-text/discount/discount-2.2.6.ebuild b/app-text/discount/discount-2.2.6.ebuild
index 9e5705492517..9cb5d5ea9f15 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 000000000000..5b081877a7a2
--- /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