summaryrefslogtreecommitdiff
blob: 493a39854c294a8af9d9fe8f3529158b053c017e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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