From 32b06bb3fdb4245718ed8674e010a55716eeaaff Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Thu, 12 Jul 2012 01:54:15 +0200 Subject: Some more Windows fixes for libmspub Change-Id: Ieb87876dbe40eedf9dc57b7ef5da1d5000f4b265 --- libmspub/libmspub-0.0.1.patch | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'libmspub') diff --git a/libmspub/libmspub-0.0.1.patch b/libmspub/libmspub-0.0.1.patch index a28169b7bcdd..6cc7c5fc63e4 100644 --- a/libmspub/libmspub-0.0.1.patch +++ b/libmspub/libmspub-0.0.1.patch @@ -1,3 +1,40 @@ +--- misc/libmspub-0.0.1/src/lib/ColorReference.cpp 2012-07-11 15:03:45.000000000 -0600 ++++ misc/build/libmspub-0.0.1/src/lib/ColorReference.cpp 2012-07-11 17:43:45.293869000 -0600 +@@ -44,13 +44,13 @@ + return l.m_baseColor == r.m_baseColor && l.m_modifiedColor == r.m_modifiedColor; + } + +-// const unsigned char ColorReference::COLOR_PALETTE; ++// const unsigned char ColorReference::COLOR_PALETTE = 0x8; + +-const unsigned char ColorReference::CHANGE_INTENSITY; ++const unsigned char ColorReference::CHANGE_INTENSITY = 0x10; + +-const unsigned char ColorReference::BLACK_BASE; ++const unsigned char ColorReference::BLACK_BASE = 0x1; + +-const unsigned char ColorReference::WHITE_BASE; ++const unsigned char ColorReference::WHITE_BASE = 0x2; + + } + +--- misc/libmspub-0.0.1/src/lib/ColorReference.h 2012-07-11 15:03:07.000000000 -0600 ++++ misc/build/libmspub-0.0.1/src/lib/ColorReference.h 2012-07-11 17:43:38.741857500 -0600 +@@ -37,10 +37,10 @@ + { + unsigned m_baseColor; + unsigned m_modifiedColor; +-// static const unsigned char COLOR_PALETTE = 0x8; +- static const unsigned char CHANGE_INTENSITY = 0x10; +- static const unsigned char BLACK_BASE = 0x1; +- static const unsigned char WHITE_BASE = 0x2; ++// static const unsigned char COLOR_PALETTE; ++ static const unsigned char CHANGE_INTENSITY; ++ static const unsigned char BLACK_BASE; ++ static const unsigned char WHITE_BASE; + Color getRealColor(unsigned c, const std::vector &palette) const; + public: + explicit ColorReference(unsigned color) : m_baseColor(color), m_modifiedColor(color) { } --- misc/libmspub-0.0.1/src/lib/MSPUBCollector.cpp 2012-07-10 08:13:15.000000000 +0200 +++ misc/build/libmspub-0.0.1/src/lib/MSPUBCollector.cpp 2012-07-12 01:29:28.154982030 +0200 @@ -28,6 +28,7 @@ -- cgit