mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 10:03:10 -04:00
This port was not respecting the CC and CXX variables, thus it could pick up gcc and g++ instead, and that would cause mixups between libstdc++ (which is preferred by gcc) and libc++ (which is in base), ultimately leading to link errors. Also, the port uses a very old version of tex so it suffers from a few -fno-common issues, mostly variables that have been declared without an 'extern' specifier. Add a few patches to fix these. Appproved by: maintainer timeout PR: 234221 MFH: 2021Q2
11 lines
527 B
OpenEdge ABL
11 lines
527 B
OpenEdge ABL
--- luatexdir/tex/textoken.w.orig 2015-03-28 00:34:27 UTC
|
|
+++ luatexdir/tex/textoken.w
|
|
@@ -75,7 +75,7 @@ maximum memory usage. When code between the delimiters
|
|
report these statistics when |tracing_stats| is sufficiently large.
|
|
|
|
@c
|
|
-int var_used, dyn_used; /* how much memory is in use */
|
|
+int dyn_used; /* how much memory is in use */
|
|
|
|
halfword avail; /* head of the list of available one-word nodes */
|
|
unsigned fix_mem_end; /* the last one-word node used in |mem| */
|