pkgsrc/fonts/t1lib
chuck 68e3ca275b work around clang compiler issue and malloc overflow in t1lib
there are two bugs in fonts/t1lib that cause math/grace to crash on OSX:

[1] compiler bug in some versions of clang when compiling with "-O2" ...
    this appears to have been fixed somewhere between clang-11 and clang-12.
    it works ok with "-O1" and it doesn't impact my NetBSD system (which
    has gcc instead of clang).   resolve by using memcpy() in LONGCOPY()
    macro rather than using custom code that triggers the clang issue.
    see: https://mail-index.netbsd.org/tech-pkg/2022/06/08/msg026367.html

[2] one case of t1lib trying to be clever and instead writing past end of
     malloc'd buffer (which the OSX malloc did not like at all;  the netbsd
     malloc did not get messed up by this).   the address sanitizer helped
     pinpoint this.
2022-06-08 19:00:13 +00:00
..
files
patches work around clang compiler issue and malloc overflow in t1lib 2022-06-08 19:00:13 +00:00
DESCR
MESSAGE
Makefile work around clang compiler issue and malloc overflow in t1lib 2022-06-08 19:00:13 +00:00
PLIST
buildlink3.mk
distinfo work around clang compiler issue and malloc overflow in t1lib 2022-06-08 19:00:13 +00:00
options.mk