1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
--- texk/lcdf-typetools/libefont/cff.cc.orig
+++ texk/lcdf-typetools/libefont/cff.cc
@@ -27,6 +27,7 @@
#include <ctype.h>
#include <efont/t1unparser.hh>
+#undef static_assert
#ifndef static_assert
#define static_assert(c) switch (c) case 0: case (c):
#endif
--- texk/lcdf-typetools/libefont/t1interp.cc.orig
+++ texk/lcdf-typetools/libefont/t1interp.cc
@@ -30,6 +30,7 @@
#define CHECK_PATH_START() do { _state = S_PATH; } while (0)
#define CHECK_PATH_END() do { if (_state == S_PATH) { act_closepath(cmd); } _state = S_IPATH; } while (0)
+#undef static_assert
#ifndef static_assert
# define static_assert(c) switch (c) case 0: case (c):
#endif
--- texk/dvisvgm/dvisvgm-1.0.11/src/FileFinder.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/FileFinder.cpp
@@ -18,6 +18,7 @@
** along with this program; if not, see <http://www.gnu.org/licenses/>. **
*************************************************************************/
+#include <sys/time.h>
#include <cstdlib>
#include <fstream>
#include <map>
--- texk/dvisvgm/dvisvgm-1.0.11/src/Message.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/Message.cpp
@@ -18,6 +18,7 @@
** along with this program; if not, see <http://www.gnu.org/licenses/>. **
*************************************************************************/
+#include <sys/time.h>
#include <cstdarg>
#include <cstdlib>
#include <cstring>
--- texk/dvisvgm/dvisvgm-1.0.11/src/Font.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/Font.cpp
@@ -18,6 +18,7 @@
** along with this program; if not, see <http://www.gnu.org/licenses/>. **
*************************************************************************/
+#include <sys/time.h>
#include <cstdlib>
#include <iostream>
#include <fstream>
--- texk/dvisvgm/dvisvgm-1.0.11/src/FontEncoding.cpp.orig
+++ texk/dvisvgm/dvisvgm-1.0.11/src/FontEncoding.cpp
@@ -18,6 +18,7 @@
** along with this program; if not, see <http://www.gnu.org/licenses/>. **
*************************************************************************/
+#include <sys/time.h>
#include <fstream>
#include "Font.h"
#include "FontEncoding.h"
|