Ticket #30745: texlive-bin.3.patch
File texlive-bin.3.patch, 2.3 KB (added by pguyot (Paul Guyot), 13 years ago) |
---|
-
files/patch-texk_xdvipdfmx_src_cidtype2.c.diff
1 --- texk/xdvipdfmx/src/cidtype2.c 2010-03-30 02:14:53.000000000 +0200 2 +++ texk/xdvipdfmx/src/cidtype2.c 2011-08-15 19:34:36.000000000 +0200 3 @@ -559,7 +559,7 @@ 4 ERROR("Invalid TTC index in %s.", font->ident); 5 break; 6 case SFNT_TYPE_TRUETYPE: 7 -#ifndef XETEX_MAC 8 +#ifndef XETEX 9 if (font->options->index > 0) 10 ERROR("Found TrueType font file while expecting TTC file (%s).", font->ident); 11 #endif 12 @@ -962,7 +962,7 @@ 13 offset = ttc_read_offset(sfont, opt->index); 14 break; 15 case SFNT_TYPE_TRUETYPE: 16 -#ifdef XETEX_MAC /* disable the index check here because of how .dfonts are handled */ 17 +#ifdef XETEX /* disable the index check here because of how .dfonts are handled */ 18 offset = 0; 19 #else 20 if (opt->index > 0) { -
Portfile
6 6 7 7 name texlive-bin 8 8 version 2011 9 revision 1 9 10 10 11 categories tex 11 12 maintainers dports … … 65 66 patch-texk_texlive_context_mtxrun.diff \ 66 67 patch-texk_texlive_linked_scripts_Makefile.in.diff \ 67 68 patch-texk_xdvik_xdvi-sh.in.diff \ 69 patch-texk_xdvipdfmx_src_cidtype2.c.diff \ 68 70 patch-utils_chktex_Makefile.in.diff 69 71 70 72 … … 100 102 reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/xdv2pdf/configure 101 103 } 102 104 103 # Do the same for xdvipdfmx regardless of whether +atsui is set, 104 # because it will want to use deprecated fontconfig APIs that are 105 # only available if fontconfig is compiled with 106 # --with-old-mac-fonts 105 # Force xdvipdfmx to use multi-platform freetype API as freetype is not 106 # compiled with --with-old-mac-fonts. A patch helps xdvipdfmx accept dfont 107 # files that freetype can handle. 107 108 reinplace "s|kpse_cv_have_ApplicationServices=yes|kpse_cv_have_ApplicationServices=no|" ${worksrcpath}/texk/xdvipdfmx/configure 108 109 } 109 110