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
# 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
}