[tlbuild] dvisvgm
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Sat Feb 11 11:11:37 CET 2017
On 11 February 2017 at 09:20, Martin Gieseking wrote:
> Hello,
>
>> I successfully compiled the original fontforge sources without having
>> to fiddle manually with any of those extra flags, so it must be
>> something special about dvisvgm's build system that triggers the
>> problem.
>
>
> Does it help just to replace
> #if !defined( HAVE_LIBINTL_H )
> with
> #if 1
>
> in libs/ff-woff/inc/intl.h? The reduced fontforge library bundled with
> dvisvgm doesn't include the translations anyway, so it's not necessary to
> fiddle around with gettext.
I don't understand it why, but no, it doesn't. It seems as if that
file intl.h is not included at all and
#include <intl.h>
actually includes
/opt/csw/include/libintl.h
directly (I tried deleting the include in intl.h and the system file
is still included).
In file included from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforge.h:36:0,
from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforgevw.h:30,
from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/asmfpst.c:27:
/opt/csw/include/libintl.h:152:14: error: expected identifier or '('
before 'const'
extern char *dgettext (const char *__domainname, const char *__msgid)
^
Mojca
More information about the tlbuild
mailing list