svn commit: r327323 - head/print/texlive-base/files

Baptiste Daroussin bapt at FreeBSD.org
Sun Sep 15 00:07:35 UTC 2013


Author: bapt
Date: Sun Sep 15 00:07:34 2013
New Revision: 327323
URL: http://svnweb.freebsd.org/changeset/ports/327323

Log:
  Fix build with libc++

Added:
  head/print/texlive-base/files/patch-libc++   (contents, props changed)

Added: head/print/texlive-base/files/patch-libc++
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/texlive-base/files/patch-libc++	Sun Sep 15 00:07:34 2013	(r327323)
@@ -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"


More information about the svn-ports-all mailing list