summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-12-10 16:01:53 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-12-10 16:02:09 +0300
commite26f61acc4829ff1041fbbc0b909ea39cfcf94f6 (patch)
tree69a5b4b1a8bb504e739d698a3f5f2d9dfc1b8b86 /dev-tex
parentsys-kernel/ck-sources: fix broken url for patch download (diff)
downloadgentoo-e26f61acc4829ff1041fbbc0b909ea39cfcf94f6.tar.gz
gentoo-e26f61acc4829ff1041fbbc0b909ea39cfcf94f6.tar.bz2
gentoo-e26f61acc4829ff1041fbbc0b909ea39cfcf94f6.zip
dev-tex/dvi2tty: eapi bump
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/dvi2tty/dvi2tty-5.3.4-r1.ebuild (renamed from dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild)11
-rw-r--r--dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch4
2 files changed, 8 insertions, 7 deletions
diff --git a/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild b/dev-tex/dvi2tty/dvi2tty-5.3.4-r1.ebuild
index 8f353052b446..1645a6ca1c2c 100644
--- a/dev-tex/dvi2tty/dvi2tty-5.3.4.ebuild
+++ b/dev-tex/dvi2tty/dvi2tty-5.3.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="Preview dvi-files on text-only devices"
HOMEPAGE="http://www.ctan.org/tex-archive/dviware/"
@@ -11,10 +12,10 @@ SRC_URI="ftp://ftp.mesa.nl/pub/dvi2tty/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
src_prepare() {
- epatch "${FILESDIR}"/${P}-cflags.patch
+ default
+ eapply "${FILESDIR}"/${P}-cflags.patch
}
src_compile() {
diff --git a/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch
index 1d46f1954531..3f1449012ca6 100644
--- a/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch
+++ b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -6,11 +6,10 @@
# This Makefile does not work for MSDOS. Make your
# own one, or compile by hand.