app-emacs/vm: Declare encoding of texinfo file.
authorUlrich Müller <ulm@gentoo.org>
Sun, 13 Oct 2019 11:27:23 +0000 (13:27 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sun, 13 Oct 2019 11:27:49 +0000 (13:27 +0200)
Closes: https://bugs.gentoo.org/697556
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
app-emacs/vm/files/vm-8.2.0_beta-texinfo-encoding.patch [new file with mode: 0644]
app-emacs/vm/vm-8.2.0_beta-r1.ebuild

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 (file)
index 0000000..2e202ee
--- /dev/null
@@ -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
index 271adb1e64ff12127decae3c1e7cf70e3768300a..df64a109d955190d98651caa3745102ffbc5680c 100644 (file)
@@ -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"