freebsd-ports/print/ttfautohint/files/patch-lib-llrb.h
Sunpoet Po-Chuan Hsieh 2715cc2812 Add ttfautohint 1.8.3
ttfautohint provides a 99% automated hinting process and a platform for finely
hand-hinting the last 1%. It is ideal for web fonts and supports many scripts:
Latin, Greek, Arabic, Devanagari, Hebrew, Khmer, Myanmar, Thai, and many more.

WWW: https://www.freetype.org/ttfautohint/
2019-12-08 16:49:13 +00:00

12 lines
431 B
C

--- lib/llrb.h.orig 2016-01-07 09:47:40 UTC
+++ lib/llrb.h
@@ -74,7 +74,7 @@ struct name { struct type *rbh_root; }
#define LLRB_RED 1
#define LLRB_ENTRY(type) \
-struct { struct type *rbe_left, *rbe_right, *rbe_parent; _Bool rbe_color; }
+struct { struct type *rbe_left, *rbe_right, *rbe_parent; bool rbe_color; }
#define LLRB_LEFT(elm, field) (elm)->field.rbe_left
#define LLRB_RIGHT(elm, field) (elm)->field.rbe_right