tradcpp is a K&R-style ("traditional") C preprocessor. It was written to
support historical uses of the C preprocessor for preprocessing things that
aren't C, as the preprocessors that ship with C compilers are increasingly
unsuitable for this task and/or don't provide a traditional mode at all.
In particular, tradcpp preserves whitespace as much as possible, so it can be
used in contexts where whitespace is significant and/or rearranging whitespace
causes things to break, such as makefiles. Preprocessing makefiles with cpp is
a fairly common property of sufficiently old legacy build systems, including
old versions of Emacs and anything that uses imake.
this port is imported to replace tradcpp from base which is not used there
anymore and also include all the modifications we had, including pledge(2)
support
ok aja@, jsg@
tradcpp is a K&R-style ("traditional") C preprocessor. It was written to
support historical uses of the C preprocessor for preprocessing things that
aren't C, as the preprocessors that ship with C compilers are increasingly
unsuitable for this task and/or don't provide a traditional mode at all.
In particular, tradcpp preserves whitespace as much as possible, so it can be
used in contexts where whitespace is significant and/or rearranging whitespace
causes things to break, such as makefiles. Preprocessing makefiles with cpp is
a fairly common property of sufficiently old legacy build systems, including
old versions of Emacs and anything that uses imake.
this port is imported to replace tradcpp from base which is not used there
anymore and also include all the modifications we had, including pledge(2)
support
ok aja@, jsg@
libunibreak is an implementation of the line breaking and word breaking
algorithms as described in Unicode Standard Annex 14 and Unicode Standard Annex 29.
ok robert@
so versioning by mercurial commit isn't meaningful anymore.
- remove manual version setting (mojoshader now sets version to -1 if it
can't find git/hg info; this is fine)
- 2 functions have incomplete signature; add ctx to complete them (plan to
upstream this)
- tested with fnaify and several FNA games, including Rogue Legacy,
Cryptark, Miasma without issues
package. Tested with ports-gcc on sparc64.
While here, remove the extra CFLAGS for powerpc as suggested by Brad.
Tested by gkoehler@ with the current version of clang on powerpc
(should works also with ports-gcc).