summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-08-25 23:35:20 -0700
committerZac Medico <zmedico@gentoo.org>2018-08-25 23:55:59 -0700
commitb1f0c43e476dfad520cc03a117b55f77bb53fd45 (patch)
treec742fe5c181c6275416c7fb76e9eab67990c3550
parentdev-ruby/webmock: amd64 stable (diff)
downloadgentoo-b1f0c43e476dfad520cc03a117b55f77bb53fd45.tar.gz
gentoo-b1f0c43e476dfad520cc03a117b55f77bb53fd45.tar.bz2
gentoo-b1f0c43e476dfad520cc03a117b55f77bb53fd45.zip
dev-util/gtk-doc: mkpdf: fix exitcode (bug 646850)
Fix gtk-doc exitcode. The problem can be demonstrated by building gtk-doc with dblatex installed, and then building evince with EXTRA_ECONF="--enable-gtk-doc --enable-gtk-doc-pdf". Bug: https://bugs.gentoo.org/646850 See: https://github.com/GNOME/gtk-doc/commit/1baf9a63bdf3283832be06bce151835922909436 Package-Manager: Portage-2.3.48, Repoman-2.3.10
-rw-r--r--dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild b/dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild
index 155f1f6a02f..f696a066e7f 100644
--- a/dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild
+++ b/dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild
@@ -50,6 +50,10 @@ src_prepare() {
# Remove global Emacs keybindings, bug #184588
eapply "${FILESDIR}"/${PN}-1.8-emacs-keybindings.patch
+ # Apply upstream commit 1baf9a6, bug #646850
+ sed -e '1,/exit 1/s/exit 1/exit $1/' \
+ -i gtkdoc-mkpdf.in || die
+
gnome2_src_prepare
}