Add patch to fix build with c++11

This commit is contained in:
Jindrich Novy 2012-11-13 22:07:07 +01:00
parent fa488d51c8
commit 5016cdbe4a
1 changed files with 12 additions and 0 deletions

12
texlive-stdc++11.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up texlive-2012/source/texk/dvisvgm/dvisvgm-1.0.12/src/DVIToSVG.cpp.stdc++11 texlive-2012/source/texk/dvisvgm/dvisvgm-1.0.12/src/DVIToSVG.cpp
--- texlive-2012/source/texk/dvisvgm/dvisvgm-1.0.12/src/DVIToSVG.cpp.stdc++11 2012-11-07 14:24:46.000000000 +0100
+++ texlive-2012/source/texk/dvisvgm/dvisvgm-1.0.12/src/DVIToSVG.cpp 2012-11-07 20:49:12.440647310 +0100
@@ -185,7 +185,7 @@ void DVIToSVG::beginPage (unsigned n, In
Message::mstream().indent(0);
Message::mstream(false, Message::MC_PAGE_NUMBER) << "processing page " << n << " [" << c[0] << ']';
Message::mstream().indent(1);
- _svg.appendToDoc(new XMLCommentNode(" This file was generated by dvisvgm "VERSION_STR" "));
+ _svg.appendToDoc(new XMLCommentNode(" This file was generated by dvisvgm "));
_svg.appendToDoc(new XMLCommentNode(" " + datetime() + " "));
}
}