summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-12-10 21:31:42 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-12-10 21:31:56 +0200
commitaf6bb6155c9f960330a0989a533703315e63c602 (patch)
treeeeb133b38af1982fb7d30a9c20041a4d21bb02e9 /app-text/liblangtag
parentdev-python/elasticsearch-curator: drop myself as maintainer (diff)
downloadgentoo-af6bb6155c9f960330a0989a533703315e63c602.tar.gz
gentoo-af6bb6155c9f960330a0989a533703315e63c602.tar.bz2
gentoo-af6bb6155c9f960330a0989a533703315e63c602.zip
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@gentoo.org>
Diffstat (limited to 'app-text/liblangtag')
-rw-r--r--app-text/liblangtag/files/liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch28
-rw-r--r--app-text/liblangtag/liblangtag-0.6.3.ebuild4
2 files changed, 32 insertions, 0 deletions
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 @@
+ </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 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