summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2004-12-16 12:08:26 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2004-12-16 12:08:26 +0000
commitb946f7d3f8a8609336a2648a67f431c85573608b (patch)
tree6e1df7d6603d222e555f3e88e9d74810a8cb6986 /dev-tex
parentrevision bump and changelog fix (Manifest recommit) (diff)
downloadgentoo-2-b946f7d3f8a8609336a2648a67f431c85573608b.tar.gz
gentoo-2-b946f7d3f8a8609336a2648a67f431c85573608b.tar.bz2
gentoo-2-b946f7d3f8a8609336a2648a67f431c85573608b.zip
Fixed bug #74232
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/dvi2tty/ChangeLog6
-rw-r--r--dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild8
-rw-r--r--dev-tex/dvi2tty/files/dvi2tty-gcc.patch12
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-tex/dvi2tty/ChangeLog b/dev-tex/dvi2tty/ChangeLog
index eaa870d6a5a8..38e0c654c7e7 100644
--- a/dev-tex/dvi2tty/ChangeLog
+++ b/dev-tex/dvi2tty/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tex/dvi2tty
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.4 2004/10/09 21:20:46 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/ChangeLog,v 1.5 2004/12/16 12:08:26 pclouds Exp $
+
+ 16 Dec 2004; <pclouds@gentoo.org> +files/dvi2tty-gcc.patch,
+ dvi2tty-5.3.1.ebuild:
+ Fixed bug #74232
10 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> dvi2tty-5.3.1.ebuild:
Marked as stable.
diff --git a/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild b/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild
index 92d6dcfc426e..543dd76e1739 100644
--- a/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild
+++ b/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild,v 1.3 2004/10/09 21:20:46 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvi2tty/dvi2tty-5.3.1.ebuild,v 1.4 2004/12/16 12:08:26 pclouds Exp $
+inherit eutils
DESCRIPTION="Preview dvi-files on text-only devices"
HOMEPAGE="http://www.ctan.org/tex-archive/dviware/"
SRC_URI="ftp://ftp.mesa.nl/pub/dvi2tty/${P}.tar.gz"
@@ -11,6 +12,11 @@ KEYWORDS="x86 ppc"
IUSE=""
DEPEND=""
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/dvi2tty-gcc.patch
+}
+
src_compile() {
emake || die
}
diff --git a/dev-tex/dvi2tty/files/dvi2tty-gcc.patch b/dev-tex/dvi2tty/files/dvi2tty-gcc.patch
new file mode 100644
index 000000000000..38ec70309ccf
--- /dev/null
+++ b/dev-tex/dvi2tty/files/dvi2tty-gcc.patch
@@ -0,0 +1,12 @@
+diff -ur dvi2tty-5.3.1-old/disdvi.c dvi2tty-5.3.1/disdvi.c
+--- dvi2tty-5.3.1-old/disdvi.c 2003-01-23 17:31:00.000000000 +0700
++++ dvi2tty-5.3.1/disdvi.c 2004-12-16 18:59:50.930219880 +0700
+@@ -108,7 +108,7 @@
+ */
+
+ #if !defined(THINK_C)
+-char * malloc ();
++void * malloc ();
+ #endif
+
+ #if defined(VMS)