From: Ulrich Müller Date: Sun, 13 Oct 2019 11:27:23 +0000 (+0200) Subject: app-emacs/vm: Declare encoding of texinfo file. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b451acb7defe46c596ca96ae3245b2779d47aa92;p=gentoo.git app-emacs/vm: Declare encoding of texinfo file. Closes: https://bugs.gentoo.org/697556 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Ulrich Müller --- diff --git a/app-emacs/vm/files/vm-8.2.0_beta-texinfo-encoding.patch b/app-emacs/vm/files/vm-8.2.0_beta-texinfo-encoding.patch new file mode 100644 index 000000000000..2e202ee9c779 --- /dev/null +++ b/app-emacs/vm/files/vm-8.2.0_beta-texinfo-encoding.patch @@ -0,0 +1,8 @@ +--- vm-8.2.0b-orig/info/vm.texinfo ++++ vm-8.2.0b/info/vm.texinfo +@@ -1,4 +1,5 @@ + \input texinfo ++@documentencoding ISO-8859-1 + @setfilename vm.info + @settitle VM User's Manual + @dircategory Emacs diff --git a/app-emacs/vm/vm-8.2.0_beta-r1.ebuild b/app-emacs/vm/vm-8.2.0_beta-r1.ebuild index 271adb1e64ff..df64a109d955 100644 --- a/app-emacs/vm/vm-8.2.0_beta-r1.ebuild +++ b/app-emacs/vm/vm-8.2.0_beta-r1.ebuild @@ -23,13 +23,15 @@ BDEPEND="sys-apps/texinfo" S="${WORKDIR}/${MY_P}" SITEFILE="50${PN}-gentoo.el" +PATCHES=( + "${FILESDIR}"/${P}-datadir.patch + "${FILESDIR}"/${P}-texinfo-5.patch + "${FILESDIR}"/${P}-optional-args.patch + "${FILESDIR}"/${P}-texinfo-encoding.patch +) src_prepare() { - eapply "${FILESDIR}/${P}-datadir.patch" - eapply "${FILESDIR}/${P}-texinfo-5.patch" - eapply "${FILESDIR}/${P}-optional-args.patch" - eapply_user - + elisp_src_prepare if ! use bbdb; then elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set." eapply "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"