summaryrefslogtreecommitdiff
path: root/boost/UnpackedTarball_boost.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-26 20:35:31 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-31 21:21:39 +0200
commit717b6ba929a9ce981b10b802b26d234861a421b4 (patch)
tree1e26965375f82969db72a6cee060dd162c021406 /boost/UnpackedTarball_boost.mk
parent86423d682ad80cde6eb77d2cf41c68100b6c30a2 (diff)
boost: convert to gbuild
Change-Id: If3840e048edc93adec3df7fa818e8b43d17cb1d5
Diffstat (limited to 'boost/UnpackedTarball_boost.mk')
-rw-r--r--boost/UnpackedTarball_boost.mk59
1 files changed, 59 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
new file mode 100644
index 000000000000..7e3f0f2b9c69
--- /dev/null
+++ b/boost/UnpackedTarball_boost.mk
@@ -0,0 +1,59 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+boost_patches :=
+#https://svn.boost.org/trac/boost/ticket/3780
+boost_patches += boost.3780.aliasing.patch
+#https://svn.boost.org/trac/boost/ticket/4127
+boost_patches += boost.4127.warnings.patch
+#https://svn.boost.org/trac/boost/ticket/4713
+boost_patches += boost.4713.warnings.patch
+#https://svn.boost.org/trac/boost/ticket/5119
+boost_patches += boost.5119.unordered_map-cp-ctor.patch
+#http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47679
+boost_patches += boost.gcc47679.patch
+#https://svn.boost.org/trac/boost/ticket/6369
+boost_patches += boost.6369.warnings.patch
+#https://svn.boost.org/trac/boost/ticket/6397
+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
+
+boost_patches += boost.windows.patch
+boost_patches += boost.vc2012.patch
+
+# Help static analysis tools (see SAL_UNUSED_PARAMETER in sal/types.h):
+ifeq (GCC,$(COM))
+boost_patches += boost_1_44_0-unused-parameters.patch
+boost_patches += boost_1_44_0-logical-op-parentheses.patch
+endif
+
+# Backporting fixes for the GCC 4.7 -std=c++11 mode from Boost 1.48.0:
+boost_patches += boost_1_44_0-gcc4.7.patch
+
+# Clang warnings:
+boost_patches += boost_1_44_0-clang-warnings.patch
+
+# Backport http://svn.boost.org/svn/boost/trunk r76133 "Fix threading detection
+# in GCC-4.7 experimental":
+boost_patches += boost_1_44_0-gthreads.patch
+
+$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
+
+$(eval $(call gb_UnpackedTarball_add_patches,boost,\
+ $(foreach patch,$(boost_patches),boost/$(patch)) \
+))
+
+$(eval $(call gb_UnpackedTarball_copy_header_files,boost,\
+ boost \
+))
+
+# vim: set noet sw=4 ts=4: