From b45834bf6479e614353e6ff19b2883bac5b5370f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Sep 2012 23:12:15 +0100 Subject: WaE: with DEBUG defined Change-Id: I2bf950b8ac644c911050ce01282ac988167d28f9 --- libwpd/UnpackedTarball_wpd.mk | 3 ++ libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch | 65 +++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch (limited to 'libwpd') diff --git a/libwpd/UnpackedTarball_wpd.mk b/libwpd/UnpackedTarball_wpd.mk index ab482071ca09..68d7bf1dfe87 100644 --- a/libwpd/UnpackedTarball_wpd.mk +++ b/libwpd/UnpackedTarball_wpd.mk @@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,wpd,\ libwpd/libwpd-0.9.4.patch \ libwpd/libwpd-0.9.4-warning.patch \ libwpd/libwpd-0.9.4-msvc-warning.patch \ + libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch \ )) # libwpd/libwpd-0.9.4-warning.patch: see upstream # "MSVC warning C4310: cast # truncates constant value" +# libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch +# mailed to Fridrich cause there's no apparent way to submit a patch # vim: set noet sw=4 ts=4: diff --git a/libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch b/libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch new file mode 100644 index 000000000000..beb606be351a --- /dev/null +++ b/libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch @@ -0,0 +1,65 @@ +--- foo/UnpackedTarball/wpd/src/lib/WP6BoxGroup.cpp 2012-09-12 23:00:03.552693060 +0100 ++++ foo/UnpackedTarball/wpd/src/lib/WP6BoxGroup.cpp 2012-09-12 23:00:41.293089947 +0100 +@@ -188,7 +188,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -199,7 +199,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -210,7 +210,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -221,7 +221,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -232,7 +232,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -247,7 +247,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif +@@ -258,7 +258,7 @@ + { + long tmpEndOfData = readU16(input, encryption) + input->tell(); + #ifdef DEBUG +- uint16_t tmpOverrideFlags = readU16(input, encryption); ++ tmpOverrideFlags = readU16(input, encryption); + #else + readU16(input, encryption); + #endif -- cgit