You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit deed4a4 broke building harfbuzz on BSD systems.
In file included from hb-set.cc:27: ./hb-set-private.hh:466:16: error: expected ')' unsigned int major (hb_codepoint_t g) const { return g / PAGE_SIZE; }
It's probably due to the fact that we have major(3) defined in sys/types.h.
See https://linux.die.net/man/3/major and https://man.openbsd.org/major
Fix is easy, let's just rename major into something less common. I didn't open a pull request because I'll leave it up to you to decide on the naming :-)
Thanks!