summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-22 09:10:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-22 09:11:40 +0100
commit9d2cfee5e9e3ac82fab2e920730d04f23593ec10 (patch)
tree860f8e3363edb156741ed3bbc4314e92bc05ec3f /boost
parentae4da42e5fd0222fa1d1336ae1090b1ad840327f (diff)
some more clang warnings
Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20
Diffstat (limited to 'boost')
-rw-r--r--boost/UnpackedTarball_boost.mk2
-rw-r--r--boost/boost.7551.unusedvars.patch10
2 files changed, 12 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index 584d479155f4..b7ebd67770ab 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -24,6 +24,8 @@ boost_patches += boost.6369.warnings.patch
boost_patches += boost.6397.warnings.patch
#backport from boost 1.48.0 fix for "opcode not supported on this processor"
boost_patches += boost.mipsbackport.patch
+#https://svn.boost.org/trac/boost/ticket/7551
+boost_patches += boost.7551.unusedvars.patch
boost_patches += boost.windows.patch
boost_patches += boost.vc2012.patch
diff --git a/boost/boost.7551.unusedvars.patch b/boost/boost.7551.unusedvars.patch
new file mode 100644
index 000000000000..839f9252435d
--- /dev/null
+++ b/boost/boost.7551.unusedvars.patch
@@ -0,0 +1,10 @@
+--- misc/boost_1_44_0/boost/date_time/tz_db_base.hpp
+--- misc/build/boost_1_44_0/boost/date_time/tz_db_base.hpp
+@@ -170,7 +170,6 @@
+ /*! May throw data_not_accessible, or bad_field_count exceptions */
+ void load_from_file(const std::string& pathspec)
+ {
+- string_type in_str;
+ std::string buff;
+
+ std::ifstream ifs(pathspec.c_str());