commit: af6bb6155c9f960330a0989a533703315e63c602 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Thu Dec 10 19:31:42 2020 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Thu Dec 10 19:31:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6bb615
app-text/liblangtag: Add patch by Anon Emuss for >=gtk-doc-1.32 Closes: https://bugs.gentoo.org/727880 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> .../liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch | 28 ++++++++++++++++++++++ app-text/liblangtag/liblangtag-0.6.3.ebuild | 4 ++++ 2 files changed, 32 insertions(+) diff --git a/app-text/liblangtag/files/liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch b/app-text/liblangtag/files/liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch new file mode 100644 index 00000000000..86d7a651bbb --- /dev/null +++ b/app-text/liblangtag/files/liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch @@ -0,0 +1,28 @@ +Fix build with gtk-doc-1.32 + +This bug was reported here: +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939956 + +The issue is that gtk-doc-1.32 no longer generates empty tree_index +files. The recommendation is that liblangtag be modified to no longer +reference what used to be an empty tree_index, but is now a missing +file. The same bug report contained the patch implemented here, which +removes the reference to a now-missing tree_index file. + +The fix should already be provided in newer versions of liblangtag. + +diff --git a/docs/liblangtag-docs.sgml b/docs/liblangtag-docs.sgml +index 1234567..1234567 100644 +--- a/docs/liblangtag-docs.sgml ++++ b/docs/liblangtag-docs.sgml +@@ -58,10 +58,6 @@ + </section> + + </chapter> +- <chapter id="object-tree"> +- <title>Object Hierarchy</title> +- <xi:include href="xml/tree_index.sgml"/> +- </chapter> + <index id="api-index-full"> + <title>API Index</title> + <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> diff --git a/app-text/liblangtag/liblangtag-0.6.3.ebuild b/app-text/liblangtag/liblangtag-0.6.3.ebuild index cbc05a8ccc1..fd3c9a30603 100644 --- a/app-text/liblangtag/liblangtag-0.6.3.ebuild +++ b/app-text/liblangtag/liblangtag-0.6.3.ebuild @@ -31,6 +31,10 @@ DEPEND="${RDEPEND} # Upstream expect liblangtag to be installed when one runs tests... RESTRICT="test" +PATCHES=( + "${FILESDIR}/${P}-fix-for-gtk-doc-1.32.patch" +) + src_prepare() { default xdg_environment_reset