diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-15 08:07:34 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-15 08:07:34 +0800 |
commit | e14e8408ca37f73b4a8c0e22fb50bae42ee2623b (patch) | |
tree | 5f23f50693b95da58b79de363e644e21a99f4ba6 /print/texlive-base/files | |
parent | 3b5cdc77e1554c54e8ab479e737e362ad7c48e3d (diff) | |
download | freebsd-ports-gnome-e14e8408ca37f73b4a8c0e22fb50bae42ee2623b.tar.gz freebsd-ports-gnome-e14e8408ca37f73b4a8c0e22fb50bae42ee2623b.tar.zst freebsd-ports-gnome-e14e8408ca37f73b4a8c0e22fb50bae42ee2623b.zip |
Fix build with libc++
Diffstat (limited to 'print/texlive-base/files')
-rw-r--r-- | print/texlive-base/files/patch-libc++ | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/print/texlive-base/files/patch-libc++ b/print/texlive-base/files/patch-libc++ new file mode 100644 index 000000000000..649e15564d4c --- /dev/null +++ b/print/texlive-base/files/patch-libc++ @@ -0,0 +1,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" |