From 080b94d4cbbcad44afe1fdcc4592b5841d96789c Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 7 Jun 2010 13:45:56 +0000 Subject: dvisvgm: build fix git-svn-id: svn://tug.org/texlive/trunk@18801 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/dvisvgm/dvisvgm-0.8.7-PATCHES/ChangeLog | 7 +++++++ .../patch-08-static-const-members | 23 ++++++++++++++++++++++ .../texk/dvisvgm/dvisvgm-0.8.7/src/FontCache.cpp | 1 + .../texk/dvisvgm/dvisvgm-0.8.7/src/gzstream.cpp | 2 ++ 4 files changed, 33 insertions(+) create mode 100644 Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/patch-08-static-const-members diff --git a/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/ChangeLog b/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/ChangeLog index 91e2dd7fffa..345282b8087 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/ChangeLog +++ b/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/ChangeLog @@ -1,3 +1,10 @@ +2010-06-07 Peter Breitenlohner + + Added patch-08-static-const-members, from vvv. + * src/FontCache.cpp (FontCache::VERSION), + src/gzstream.cpp (gzstreambuf::bufferSize): Initialized static + const class members need also to be declared (at least for AIX) + 2010-06-05 Karl Berry * patch-07-libdvisvgm-uint32: declare glyphIndex as FT_UInt in the diff --git a/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/patch-08-static-const-members b/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/patch-08-static-const-members new file mode 100644 index 00000000000..36ac400e2e2 --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-0.8.7-PATCHES/patch-08-static-const-members @@ -0,0 +1,23 @@ +diff -ur dvisvgm-0.8.7.orig/src/FontCache.cpp dvisvgm-0.8.7/src/FontCache.cpp +--- dvisvgm-0.8.7.orig/src/FontCache.cpp 2009-11-06 22:17:58.000000000 +0100 ++++ dvisvgm-0.8.7/src/FontCache.cpp 2010-06-07 15:36:00.565125189 +0200 +@@ -31,6 +31,7 @@ + + using namespace std; + ++const UInt8 FontCache::VERSION; + + static UInt32 read_unsigned (int bytes, istream &is) { + UInt32 ret = 0; +diff -ur dvisvgm-0.8.7.orig/src/gzstream.cpp dvisvgm-0.8.7/src/gzstream.cpp +--- dvisvgm-0.8.7.orig/src/gzstream.cpp 2009-08-29 22:06:31.000000000 +0200 ++++ dvisvgm-0.8.7/src/gzstream.cpp 2010-06-07 15:36:00.565125189 +0200 +@@ -34,6 +34,8 @@ + namespace GZSTREAM_NAMESPACE { + #endif + ++const int gzstreambuf::bufferSize; ++ + // ---------------------------------------------------------------------------- + // Internal classes to implement gzstream. See header file for user classes. + // ---------------------------------------------------------------------------- diff --git a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/FontCache.cpp b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/FontCache.cpp index 3973d5db659..01d5e8154c0 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/FontCache.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/FontCache.cpp @@ -31,6 +31,7 @@ using namespace std; +const UInt8 FontCache::VERSION; static UInt32 read_unsigned (int bytes, istream &is) { UInt32 ret = 0; diff --git a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/gzstream.cpp b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/gzstream.cpp index 1712c1e113b..e738caa8229 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/gzstream.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/gzstream.cpp @@ -34,6 +34,8 @@ namespace GZSTREAM_NAMESPACE { #endif +const int gzstreambuf::bufferSize; + // ---------------------------------------------------------------------------- // Internal classes to implement gzstream. See header file for user classes. // ---------------------------------------------------------------------------- -- cgit v1.2.3