diff options
Diffstat (limited to 'libmspub')
-rw-r--r-- | libmspub/libmspub-0.0.1.patch | 37 |
1 files changed, 37 insertions, 0 deletions
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<Color> &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 @@ |