From af6bb6155c9f960330a0989a533703315e63c602 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Thu, 10 Dec 2020 21:31:42 +0200 Subject: app-text/liblangtag: Add patch by Anon Emuss for >=gtk-doc-1.32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/727880 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel --- .../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(+) create mode 100644 app-text/liblangtag/files/liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch (limited to 'app-text/liblangtag') 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 000000000000..86d7a651bbb9 --- /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 @@ + + + +- +- Object Hierarchy +- +- + + API Index + diff --git a/app-text/liblangtag/liblangtag-0.6.3.ebuild b/app-text/liblangtag/liblangtag-0.6.3.ebuild index cbc05a8ccc1e..fd3c9a30603f 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 -- cgit v1.2.3-65-gdbad