summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-10-23 12:03:36 +0000
committerMamoru Komachi <usata@gentoo.org>2006-10-23 12:03:36 +0000
commit309fd3e2deaefbe06f04655f91de7f79be17c79c (patch)
tree67abd30337bc70660b1c8a743c3e177d04f9409f /app-text/ptex
parentrevbump to fix bug 140093 and add ~amd64 (diff)
downloadgentoo-2-309fd3e2deaefbe06f04655f91de7f79be17c79c.tar.gz
gentoo-2-309fd3e2deaefbe06f04655f91de7f79be17c79c.tar.bz2
gentoo-2-309fd3e2deaefbe06f04655f91de7f79be17c79c.zip
Added xdvi-cjk patch. See http://developer.momonga-linux.org/wiki/?StatusReport-20060408 for detail
(Portage version: 2.1.1-r1)
Diffstat (limited to 'app-text/ptex')
-rw-r--r--app-text/ptex/ChangeLog7
-rw-r--r--app-text/ptex/files/xdvi-xorg-7.0.patch17
-rw-r--r--app-text/ptex/ptex-3.1.5-r2.ebuild3
-rw-r--r--app-text/ptex/ptex-3.1.8.1_p20050418.ebuild3
4 files changed, 27 insertions, 3 deletions
diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog
index ea9c5b0da320..0f02079efdc7 100644
--- a/app-text/ptex/ChangeLog
+++ b/app-text/ptex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/ptex
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.59 2006/10/07 04:23:26 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.60 2006/10/23 12:03:36 usata Exp $
+
+ 23 Oct 2006; Mamoru KOMACHI <usata@gentoo.org> +files/xdvi-xorg-7.0.patch,
+ ptex-3.1.5-r2.ebuild, ptex-3.1.8.1_p20050418.ebuild:
+ Added xdvi-cjk patch. See
+ http://developer.momonga-linux.org/wiki/?StatusReport-20060408 for detail.
07 Oct 2006; MATSUU Takuto <matsuu@gentoo.org> -ptex-3.1.4-r2.ebuild,
-ptex-3.1.5.ebuild, ptex-3.1.8.1_p20050418.ebuild:
diff --git a/app-text/ptex/files/xdvi-xorg-7.0.patch b/app-text/ptex/files/xdvi-xorg-7.0.patch
new file mode 100644
index 000000000000..493a39854c29
--- /dev/null
+++ b/app-text/ptex/files/xdvi-xorg-7.0.patch
@@ -0,0 +1,17 @@
+diff -urN texk.orig/xdvik/xdvi.h texk/xdvik/xdvi.h
+--- texk.orig/xdvik/xdvi.h 2006-10-23 18:12:27.000000000 +0900
++++ texk/xdvik/xdvi.h 2006-10-23 18:20:51.000000000 +0900
+@@ -236,6 +236,13 @@
+ /* only use definitions with prototypes now */
+ #define ARGS(x) x
+
++/* Since xorg-7.0, NeedWidePrototypes in X11/Xfoncproto.h has been
++ * undefined by default. However, xdvi needs to be built with
++ * NeedWidePrototypes to display Japanese. Then we defined it in
++ * texk/xdvi/xdvi.h
++ */
++#define NeedWidePrototypes 1
++
+ #ifndef NeedWidePrototypes
+ #define NeedWidePrototypes NeedFunctionPrototypes
+ #endif
diff --git a/app-text/ptex/ptex-3.1.5-r2.ebuild b/app-text/ptex/ptex-3.1.5-r2.ebuild
index 272fbf296016..385aebbe5fb2 100644
--- a/app-text/ptex/ptex-3.1.5-r2.ebuild
+++ b/app-text/ptex/ptex-3.1.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.5-r2.ebuild,v 1.1 2006/04/28 18:50:22 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.5-r2.ebuild,v 1.2 2006/10/23 12:03:36 usata Exp $
PTEX_TEXMF_PV=2.3
TETEX_PV=2.0.2
@@ -68,6 +68,7 @@ src_unpack() {
epatch ${WORKDIR}/${PTETEX}/archive/xdvik-22.40y1-j1.21.patch.gz
epatch ${WORKDIR}/${PTETEX}/archive/tetex-src-2.0.2-xdvik-y1-j1.19.patch.gz
epatch ${WORKDIR}/${PTETEX}/archive/xdvik-22.40y1-waitpid.patch
+ epatch ${FILESDIR}/xdvi-xorg-7.0.patch
sed -i -e "/\/usr\/local/s:^:%:g" \
-e "/kochi-.*-subst/s:%::g" \
-e "s:/usr/local:/usr:g" \
diff --git a/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild b/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild
index 764e289138d0..675f68606798 100644
--- a/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild
+++ b/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild,v 1.2 2006/10/07 04:23:26 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.8.1_p20050418.ebuild,v 1.3 2006/10/23 12:03:36 usata Exp $
TETEX_PV=3.0
@@ -69,6 +69,7 @@ src_unpack() {
if use X ; then
cd ${S}
epatch ${WORKDIR}/${PTETEX}/archive/xdvik-*.diff.gz
+ epatch ${FILESDIR}/xdvi-xorg-7.0.patch
cat >>${S}/texk/xdvik/vfontmap.sample<<-EOF
# TrueType fonts