diff --git a/tex/texlive-bin/Portfile b/tex/texlive-bin/Portfile
index f225430ebf..32f4149e8c 100644
a
|
b
|
PortGroup muniversal 1.0 |
10 | 10 | |
11 | 11 | name texlive-bin |
12 | 12 | version 2016 |
13 | | revision 6 |
| 13 | revision 7 |
14 | 14 | |
15 | 15 | categories tex |
16 | 16 | maintainers dports |
… |
… |
patchfiles-append patch-texk_chktex_Makefile.in.diff \ |
81 | 81 | patch-texk_tex4htk_Makefile.in.diff \ |
82 | 82 | patch-texk_texlive_linked_scripts_Makefile.in.diff \ |
83 | 83 | patch-texk_texlive_tl_scripts_Makefile.in.diff \ |
84 | | patch-texk_xdvik_xdvi-sh.in.diff |
85 | | |
| 84 | patch-texk_xdvik_xdvi-sh.in.diff \ |
| 85 | patch-texk_dvipsk_color.c.diff |
| 86 | |
86 | 87 | # patches to luajit/luajittex's config scripts to correctly detect |
87 | 88 | # architecture in universal builds |
88 | 89 | patchfiles-append patch-libs_luajit_configure.diff \ |
… |
… |
configure.args --bindir=${texlive_bindir} \ |
181 | 182 | # It appears to be specific to Xcode 4.6, but there's no harm in |
182 | 183 | # silencing the warning for all versions of clang. |
183 | 184 | post-patch { |
184 | | if {[string match *clang* ${configure.compiler}]} { |
| 185 | if {[string match *clang* ${configure.compiler}]} { |
185 | 186 | reinplace "/^WARNING_CFLAGS =/s/$/ -Wno-invalid-source-encoding/" ${worksrcpath}/texk/makejvf/Makefile.in |
186 | 187 | } |
187 | 188 | } |
… |
… |
post-destroot { |
219 | 220 | # Not sure why this gets installed into the wrong location, but |
220 | 221 | # fix it here. |
221 | 222 | move ${destroot}${prefix}/lib/kpathsea/c-auto.h ${destroot}${prefix}/include/kpathsea/c-auto.h |
222 | | |
| 223 | |
223 | 224 | # Anything that gets installed into texmf-dist will be installed |
224 | 225 | # by one of the texmf ports |
225 | 226 | delete ${destroot}${prefix}/share/texmf-dist |
… |
… |
post-destroot { |
227 | 228 | |
228 | 229 | # Do not install symlinks to scripts that we don't install |
229 | 230 | delete ${destroot}${texlive_bindir}/latexmk |
230 | | delete ${destroot}${texlive_bindir}/tlmgr |
| 231 | delete ${destroot}${texlive_bindir}/tlmgr |
231 | 232 | |
232 | 233 | # install the tlpkg/TeXLive perl module |
233 | 234 | xinstall -d ${destroot}${prefix}/share/tlpkg |
diff --git a/tex/texlive-bin/files/patch-texk_dvipsk_color.c.diff b/tex/texlive-bin/files/patch-texk_dvipsk_color.c.diff
new file mode 100644
index 0000000000..9a994f236c
-
|
+
|
|
| 1 | --- texk/dvipsk/color.c~ 2017-06-04 12:20:31.000000000 -0400 |
| 2 | +++ texk/dvipsk/color.c 2017-06-04 12:20:58.000000000 -0400 |
| 3 | @@ -37,7 +37,7 @@ |
| 4 | struct colorpage *next; |
| 5 | integer boploc; /* we use the bop loc as a page indicator */ |
| 6 | char *bg; |
| 7 | - char colordat[2]; |
| 8 | + char *colordat[2]; |
| 9 | } *colorhash[COLORHASH]; |
| 10 | static char *cstack, *csp, *cend, *bg; |
| 11 | /* |