summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.