From: Zac Medico Date: Sun, 26 Aug 2018 06:35:20 +0000 (-0700) Subject: dev-util/gtk-doc: mkpdf: fix exitcode (bug 646850) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1f0c43e476dfad520cc03a117b55f77bb53fd45;p=gentoo.git 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 --- 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 155f1f6a02f9..f696a066e7f7 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 }