summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-10-13 13:27:23 +0200
committerUlrich Müller <ulm@gentoo.org>2019-10-13 13:27:49 +0200
commitb451acb7defe46c596ca96ae3245b2779d47aa92 (patch)
tree30a0fbad0ef9944da7fe384d61676a9895deebf5 /app-emacs/vm
parentx11-libs/gdk-pixbuf: loaders.cache update fixes (thumbnailing, etc) (diff)
downloadgentoo-b451acb7defe46c596ca96ae3245b2779d47aa92.tar.gz
gentoo-b451acb7defe46c596ca96ae3245b2779d47aa92.tar.bz2
gentoo-b451acb7defe46c596ca96ae3245b2779d47aa92.zip
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 <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/vm')
-rw-r--r--app-emacs/vm/files/vm-8.2.0_beta-texinfo-encoding.patch8
-rw-r--r--app-emacs/vm/vm-8.2.0_beta-r1.ebuild12
2 files changed, 15 insertions, 5 deletions
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"