summaryrefslogtreecommitdiff
path: root/print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c')
-rw-r--r--print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c b/print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c
new file mode 100644
index 00000000000..2717a9c2300
--- /dev/null
+++ b/print/xetex/patches/patch-texk_web2c_xetexdir_XeTeX__ext.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-texk_web2c_xetexdir_XeTeX__ext.c,v 1.1 2012/07/31 18:44:03 wiz Exp $
+
+Prepare for patching in absolute pkgsrc path to xdvipdfmx binary.
+
+--- texk/web2c/xetexdir/XeTeX_ext.c.orig 2012-03-19 08:34:01.000000000 +0000
++++ texk/web2c/xetexdir/XeTeX_ext.c
+@@ -173,7 +173,7 @@ const UInt32 byteMark = 0x00000080UL;
+
+ /* if the user specifies a paper size or output driver program */
+ const char *papersize;
+-const char *outputdriver = "xdvipdfmx -q -E"; /* default to portable xdvipdfmx driver */
++const char *outputdriver = "@XDVIPDFMX@ -q -E"; /* default to portable xdvipdfmx driver */
+
+
+ void initversionstring(char **versions)