From b1f0c43e476dfad520cc03a117b55f77bb53fd45 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 25 Aug 2018 23:35:20 -0700 Subject: 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 --- dev-util/gtk-doc/gtk-doc-1.25-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dev-util') 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 } -- cgit v1.2.3-65-gdbad