From 90410e570da38ffd6b5077fafe644b17378e70a9 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 19 Jul 2015 20:33:34 +0000 Subject: Update TeXLive to TL2015. - print/texlive-infra was renamed with print/texlive-tlmgr. Note that currently tlmgr(1) does not work because of lack of TLPDB. This will be fixed. - Lua libraries used in LuaTeX are separated into devel/tex-libtexlua and devel/texlibtexluajit. USE_TEX supports them via keywords "texlua" and "texluajit". - libsynctex is currently installed by devel/tex-web2c. This will be separated into a single port. - Add graphics/libpotrace and use installed libpotrace and libharfbuzz. --- print/tex-xdvik/files/patch-texk-xdvik-encodings.c | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'print/tex-xdvik/files/patch-texk-xdvik-encodings.c') diff --git a/print/tex-xdvik/files/patch-texk-xdvik-encodings.c b/print/tex-xdvik/files/patch-texk-xdvik-encodings.c index fe5d0026080d..48b8761f5cd9 100644 --- a/print/tex-xdvik/files/patch-texk-xdvik-encodings.c +++ b/print/tex-xdvik/files/patch-texk-xdvik-encodings.c @@ -1,6 +1,6 @@ ---- texk/xdvik/encodings.c.orig 2014-09-02 18:41:34.000000000 +0900 -+++ texk/xdvik/encodings.c 2015-01-31 21:02:18.000000000 +0900 -@@ -69,10 +69,18 @@ +--- texk/xdvik/encodings.c.orig 2013-03-31 05:28:20 UTC ++++ texk/xdvik/encodings.c +@@ -69,10 +69,18 @@ OTHER DEALINGS IN THE SOFTWARE. #if HAVE_ICONV_H # include static iconv_t m_iconv_gb_ucs4 = (iconv_t)(-1); @@ -19,7 +19,7 @@ #include "util.h" #include "encodings.h" #include "my-snprintf.h" -@@ -3021,9 +3029,75 @@ +@@ -3021,8 +3029,74 @@ close_iconv(void *dummy) iconv_close(m_iconv_gb_ucs4); m_iconv_gb_ucs4 = (iconv_t)(-1); } @@ -27,9 +27,9 @@ + iconv_close(m_iconv_jis_ucs4); + m_iconv_jis_ucs4 = (iconv_t)(-1); + } - #endif /* HAVE_ICONV_H */ - } - ++#endif /* HAVE_ICONV_H */ ++} ++ +#ifdef PTEX +/* convert a JIS char to unicode (UCS-4) using iconv() */ +uint32_t @@ -88,14 +88,13 @@ + warned = True; + } + return 0; -+#endif /* HAVE_ICONV_H */ -+} + #endif /* HAVE_ICONV_H */ + } +#endif /* PTEX */ -+ + /* convert a CJK char to unicode (UCS-4) using iconv() */ static uint32_t - cjk2unicode(unsigned char *cjk) -@@ -3577,6 +3651,24 @@ +@@ -3577,6 +3651,24 @@ guess_encoding(wide_ubyte ch, const char TRACE_FIND_VERBOSE((stderr, "guess_encoding: |%s|, char 0x%.4X", fontname, ch)); -- cgit v1.2.3