1 |
commit: ef29c9b267893b579cb2437f62042cbedd634667 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 01:36:59 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 01:36:59 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef29c9b2 |
7 |
|
8 |
app-text/xml2doc: fix configure w/ clang 16 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/900539 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
...c-20030510-r1.ebuild => xml2doc-20030510-r2.ebuild} | 18 ++++++++++++------ |
14 |
1 file changed, 12 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/app-text/xml2doc/xml2doc-20030510-r1.ebuild b/app-text/xml2doc/xml2doc-20030510-r2.ebuild |
17 |
similarity index 83% |
18 |
rename from app-text/xml2doc/xml2doc-20030510-r1.ebuild |
19 |
rename to app-text/xml2doc/xml2doc-20030510-r2.ebuild |
20 |
index 919ecba3c27c..471710170ee3 100644 |
21 |
--- a/app-text/xml2doc/xml2doc-20030510-r1.ebuild |
22 |
+++ b/app-text/xml2doc/xml2doc-20030510-r2.ebuild |
23 |
@@ -1,13 +1,14 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
+# Copyright 1999-2023 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=7 |
29 |
+EAPI=8 |
30 |
|
31 |
-inherit toolchain-funcs |
32 |
+inherit autotools toolchain-funcs |
33 |
|
34 |
DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" |
35 |
HOMEPAGE="http://xml2doc.sourceforge.net" |
36 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
37 |
+S="${WORKDIR}/${PN}" |
38 |
|
39 |
LICENSE="GPL-2" |
40 |
SLOT="0" |
41 |
@@ -16,17 +17,22 @@ KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
42 |
DEPEND="dev-libs/libxml2:2" |
43 |
RDEPEND="${DEPEND}" |
44 |
|
45 |
-S="${WORKDIR}/${PN}" |
46 |
- |
47 |
PATCHES=( |
48 |
# Fix pointer-related bug detected by a QA notice |
49 |
"${FILESDIR}"/${PN}-pointer_fix.patch |
50 |
# Don't strip symbols from binary (bug #152266) |
51 |
"${FILESDIR}"/${P}-makefile.patch |
52 |
- # fix GCC 10 -fno-common change |
53 |
+ # Fix GCC 10 -fno-common change |
54 |
"${FILESDIR}"/${P}-gcc10-no-common.patch |
55 |
) |
56 |
|
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ # Clang 16, bug #900539 |
61 |
+ eautoreconf |
62 |
+} |
63 |
+ |
64 |
src_configure() { |
65 |
tc-export CC |
66 |
econf --disable-pdf |