summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xdvik/files')
-rw-r--r--app-text/xdvik/files/xdvi-xorg-7.0.patch17
-rw-r--r--app-text/xdvik/files/xdvik-22.40y-dvi-draw-conflicting-types.patch11
-rw-r--r--app-text/xdvik/files/xdvizilla.patch30
3 files changed, 0 insertions, 58 deletions
diff --git a/app-text/xdvik/files/xdvi-xorg-7.0.patch b/app-text/xdvik/files/xdvi-xorg-7.0.patch
deleted file mode 100644
index 493a39854c29..000000000000
--- a/app-text/xdvik/files/xdvi-xorg-7.0.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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/xdvik/files/xdvik-22.40y-dvi-draw-conflicting-types.patch b/app-text/xdvik/files/xdvik-22.40y-dvi-draw-conflicting-types.patch
deleted file mode 100644
index c38a8e01bc71..000000000000
--- a/app-text/xdvik/files/xdvik-22.40y-dvi-draw-conflicting-types.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tetex-src-2.0.2.old/texk/xdvik/dvi-draw.c 2003-01-25 05:16:33.000000000 -0500
-+++ tetex-src-2.0.2/texk/xdvik/dvi-draw.c 2006-01-08 04:52:44.000000000 -0500
-@@ -518,7 +518,7 @@
-
- #endif /* T1LIB */
-
--extern void home(); /* from events.c */
-+extern void home(wide_bool scrl); /* from events.c */
- extern int fallbacktfm; /* from tfmload.c */
-
- static struct frame frame0; /* dummy head of list */
diff --git a/app-text/xdvik/files/xdvizilla.patch b/app-text/xdvik/files/xdvizilla.patch
deleted file mode 100644
index bc925280a198..000000000000
--- a/app-text/xdvik/files/xdvizilla.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- tetex-bin-2.0.2/texk/xdvik/xdvizilla 2002-10-12 15:28:50.000000000 +0200
-+++ tetex-bin-2.0.2.new/texk/xdvik/xdvizilla 2004-12-23 12:58:35.010332504 +0100
-@@ -33,7 +33,7 @@
- case "$FILETYPE" in
-
- *"gzip compressed data"*)
-- FILE=/tmp/xdvizilla$$
-+ FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
- gunzip -c "$1" > $FILE
- [ -n "$NO_RM" ] || rm -f -- "$1"
- NO_RM=
-@@ -41,7 +41,7 @@
- ;;
-
- *"compressed data"* | *"compress'd data"*)
-- FILE=/tmp/xdvizilla$$
-+ FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
- uncompress -c "$1" > $FILE
- [ -n "$NO_RM" ] || rm -f -- "$1"
- NO_RM=
-@@ -60,8 +60,7 @@
- case "$FILETYPE" in
-
- *" tar archive")
-- TARDIR=/tmp/xdvitar$$
-- mkdir $TARDIR
-+ TARDIR=`mktemp -t -d xdvitar.XXXXXX` || exit 1
- cat "$FILE" | (cd $TARDIR; tar xf -)
- DVINAME=`tar tf "$FILE" | grep '\.dvi$' | head -1`
- [ -n "$NO_RM" ] || rm -f -- "$FILE"