On Wed, Mar 19, 2014 at 08:59:33AM -0400, Greg Troxel wrote: > > xulrunner192 doesn't build on NetBSD, which may at this point only break > yelp, but that breaks gnome. > > The problem is freetype' bizarre include rules. However, xulrunner has > a complicated system to generate wrappers. The following patch will > apply after the build is done, but this file doesn't seem to exist yet > at patch time - so fairly clearly the change should be applied in some > previous generating file. > > If anyone understands xulrunner innards and wants to fix this, that > would be great. I won't claim to understand the innards, but the attached got me: # more ./config/system_wrappers/freetype/tttables.h #pragma GCC system_header #pragma GCC visibility push(default) #include <ft2build.h> #include_next FT_TRUETYPE_TABLES_H #pragma GCC visibility pop > $NetBSD$ > > --- config/system_wrappers/freetype/tttables.h.orig 2014-03-17 > 16:35:57.000000000 +0000 > +++ config/system_wrappers/freetype/tttables.h > @@ -1,4 +1,5 @@ > #pragma GCC system_header > #pragma GCC visibility push(default) > -#include_next <freetype/tttables.h> > +#include <ft2build.h> > +#include_next FT_TRUETYPE_TABLES_H > #pragma GCC visibility pop which seems to match your patch, but the build still fails for me: os2.cc:168:36: error: expected primary-expression before ',' token if (length < offsetof(OpenTypeOS2, code_page_range_2)) { ^ Cheers, Patrick
Attachment:
patch-nsprpub_config_make-system-wrappers.pl
Description: Perl program