[tlbuild] Compiling texk/dvisvgm/dvisvgm-1.2/src/dvisvgm/FileFinder.cpp under Solaris

Karl Berry karl at freefriends.org
Tue Apr 2 02:38:07 CEST 2013


Hi Apostolos,
    
    [dvisvgm-1.2/src/FileFinder.cpp]
    + #undef __cplusplus
    + #define __cplusplus 1

That change worked for me (not surprisingly), and I'm ok with it for the
sake of moving on with TL'13 compilation, so I installed it.  It's
certainly non-invasive.  However, it's not something I would expect the
dvisvgm maintainer to want to install permamently since it's working
around whatever the problem is by reverting to old behavior.

Your previous patch to c-memstr.h, making it include <cstring> instead
of <string.h>, seemed better in that regard.  Unfortunately dvisvgm
failed to compile for me with that (i386-linux, g++-4.6.3).  I did not
try to delve into it.  Maybe the namespace stuff in FileFinder.cpp is
not needed at all in that case?  I don't know.  Maybe you could get to
the bottom of it with the dvisvgm maintainer.  He's been quite
responsive to our various changes over the years.

Thanks,
k


More information about the tlbuild mailing list