Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/discount/files/, app-text/discount/
Date: Fri, 26 Jun 2020 15:53:52
Message-Id: 1593186816.28625ec7e0e405c313b34ac9a08a85ee50cc1982.bkohler@gentoo
1 commit: 28625ec7e0e405c313b34ac9a08a85ee50cc1982
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 26 15:53:19 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 15:53:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28625ec7
7
8 app-text/discount: parallel build fix from upstream
9
10 Closes: https://bugs.gentoo.org/728930
11 Package-Manager: Portage-2.3.103, Repoman-2.3.23
12 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
13
14 app-text/discount/discount-2.2.6.ebuild | 2 ++
15 app-text/discount/files/gethopt-undefined.patch | 12 ++++++++++++
16 2 files changed, 14 insertions(+)
17
18 diff --git a/app-text/discount/discount-2.2.6.ebuild b/app-text/discount/discount-2.2.6.ebuild
19 index 9e570549251..9cb5d5ea9f1 100644
20 --- a/app-text/discount/discount-2.2.6.ebuild
21 +++ b/app-text/discount/discount-2.2.6.ebuild
22 @@ -15,6 +15,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
23 IUSE="minimal test"
24 RESTRICT="!test? ( test )"
25
26 +PATCHES=( "${FILESDIR}"/gethopt-undefined.patch )
27 +
28 src_prepare() {
29 default
30
31
32 diff --git a/app-text/discount/files/gethopt-undefined.patch b/app-text/discount/files/gethopt-undefined.patch
33 new file mode 100644
34 index 00000000000..5b081877a7a
35 --- /dev/null
36 +++ b/app-text/discount/files/gethopt-undefined.patch
37 @@ -0,0 +1,12 @@
38 +diff -aur discount-2.2.6/Makefile.in discount-2.2.6-new/Makefile.in
39 +--- discount-2.2.6/Makefile.in 2019-04-16 03:28:20.000000000 +1200
40 ++++ discount-2.2.6-new/Makefile.in 2020-06-21 07:39:32.256757588 +1200
41 +@@ -139,7 +139,7 @@
42 +
43 + pandoc_headers.o: tools/pandoc_headers.c config.h
44 + $(BUILD) -c -o pandoc_headers.o tools/pandoc_headers.c
45 +-pandoc_headers: pandoc_headers.o
46 ++pandoc_headers: pandoc_headers.o $(MKDLIB)
47 + $(LINK) -o pandoc_headers pandoc_headers.o $(COMMON) -lmarkdown
48 +
49 + branch.o: tools/branch.c config.h