229caecce4
Change-Id: If079016bf90d593886c11366626f7c4a06ede8be
97 lines
3.8 KiB
Makefile
97 lines
3.8 KiB
Makefile
# -*- 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
|
|
#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/6142
|
|
boost_patches += boost.6142.warnings.patch.1
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/9881
|
|
boost_patches += boost.crc.Wshadow.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9882
|
|
boost_patches += boost.date_time.Wshadow.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9885
|
|
boost_patches += boost.multi_array.C4510.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9888
|
|
boost_patches += boost.multi_array.Wunused-local-typedefs.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9891
|
|
boost_patches += boost.preprocessor.Wundef.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9892
|
|
boost_patches += boost.property_tree.Wshadow.warnings.patch.1
|
|
# fixed upstream
|
|
boost_patches += boost.random.Wunused-local-typedefs.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9900
|
|
boost_patches += boost.spirit.Wshadow.warnings.patch
|
|
# https://svn.boost.org/trac/boost/ticket/9901
|
|
boost_patches += boost.spirit.Wunused-local-typedefs.warnings.patch
|
|
# to-do: submit upstream
|
|
boost_patches += boost.spirit.Wunused-parameter.warnings.patch
|
|
boost_patches += boost.date_time.Wshadow.warnings.patch.1
|
|
# https://svn.boost.org/trac/boost/ticket/9903
|
|
boost_patches += boost.utility.Wundef.warnings.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
|
|
endif
|
|
|
|
# Clang warnings:
|
|
boost_patches += boost_1_44_0-clang-warnings.patch
|
|
|
|
boost_patches += boost.auto_link.patch
|
|
boost_patches += boost.std.move.patch
|
|
boost_patches += boost.wunused.patch
|
|
boost_patches += boost.signal2.Wshadow.warnings.patch
|
|
|
|
boost_patches += ubsan.patch.0
|
|
boost_patches += rtti.patch.0
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/11505
|
|
boost_patches += boost_1_59_0.mpl.config.wundef.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11502
|
|
boost_patches += boost_1_59_0.property_tree.wtype-limits.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11507
|
|
boost_patches += boost_1_59_0.property_tree.wshadow.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11508
|
|
boost_patches += boost_1_59_0.iostreams.wshadow.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11509
|
|
boost_patches += boost_1_59_0.iostreams.wunused.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11506
|
|
boost_patches += boost_1_59_0.rational.wshadow.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11511
|
|
boost_patches += boost_1_59_0.multi_array.wshadow.patch
|
|
# https://svn.boost.org/trac/boost/ticket/11501
|
|
boost_patches += boost_1_59_0.property_tree.wreturn-type.patch
|
|
|
|
boost_patches += clang-cl.patch.0
|
|
boost_patches += gcc6-warnings.patch.0
|
|
|
|
# This patch was already applied upstream
|
|
# https://github.com/boostorg/math/commit/74ff2db959c5fa75bec770c41ed2951a740fe936
|
|
boost_patches += boost_1_60_0.quadmath.patch
|
|
boost_patches += boost_1_60_0.undef.warning.patch
|
|
boost_patches += boost.wdeprecated-auto_ptr.patch.0
|
|
boost_patches += boost_1_60_0.android.undef.warning.patch
|
|
|
|
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
|
|
|
|
$(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
|
|
|
|
$(eval $(call gb_UnpackedTarball_set_patchlevel,boost,3))
|
|
|
|
$(eval $(call gb_UnpackedTarball_add_patches,boost,\
|
|
$(foreach patch,$(boost_patches),external/boost/$(patch)) \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|