[tlbuild] dvisvgm

Apostolos Syropoulos asyropoulos at gmail.com
Sun Feb 5 14:20:21 CET 2017


Hello,

Finally I managed to compile dvisvgm. However, I had to do
two apply two patches:

*** fontforge.h.orig    2017-02-05 13:25:09.904026440 +0200
--- fontforge.h 2017-02-05 14:27:35.320621195 +0200
***************
*** 33,38 ****
--- 33,39 ----
  #include "libffstamp.h"
  #include <stdio.h>
  #include <string.h>
+ #define  HAVE_LIBINTL_H 1
  #include <intl.h>
  #include "splinefont.h"
  #include "uiinterface.h"

For some reason the HAVE_LIBINTL_H symbol is mangled so
the compiler includes wrong things from intl.h

In file texk/dvisvgm/dvisvgm-src/libs/xxHash/xxhash.h
there are a few occurrences of the restrict keyword which
is not defined in C++ (see https://en.wikipedia.org/wiki/Restrict).
So texk/dvisvgm/dvisvgm-src/src/Unicode.cpp fails to compile.
I just wonder how people managed to compile withe -std=c++11
option enabled!

A.S.



-- 
Apostolos Syropoulos
Xanthi, GREECE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20170205/ade02873/attachment.html>


More information about the tlbuild mailing list