diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-06-07 13:45:56 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-06-07 13:45:56 +0000 |
commit | 080b94d4cbbcad44afe1fdcc4592b5841d96789c (patch) | |
tree | d49d7c89b7767247a136aa67af2bf6bad1701036 /Build/source | |
parent | 4b95faa41faf7c73b185f375dd734390e5f5639a (diff) |
dvisvgm: build fix
git-svn-id: svn://tug.org/texlive/trunk@18801 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
4 files changed, 33 insertions, 0 deletions
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 <peb@mppmu.mpg.de> + + 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 <karl@tug.org> * 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. // ---------------------------------------------------------------------------- |