diff options
-rw-r--r-- | download.lst | 4 | ||||
-rw-r--r-- | external/boost/0001-This-bug-was-fixed-in-VC-2013-workaround-no-longer-a.patch.2 | 40 | ||||
-rw-r--r-- | external/boost/StaticLibrary_boost_date_time.mk | 2 | ||||
-rw-r--r-- | external/boost/StaticLibrary_boost_filesystem.mk | 2 | ||||
-rw-r--r-- | external/boost/UnpackedTarball_boost.mk | 9 | ||||
-rw-r--r-- | external/boost/c++20-allocator.patch.0 | 24 | ||||
-rw-r--r-- | external/boost/clang-cl.patch.0 | 28 | ||||
-rw-r--r-- | external/boost/gcc9.patch.0 | 10 | ||||
-rw-r--r-- | external/boost/include/boost/property_tree/ptree_fwd.hpp | 31 | ||||
-rw-r--r-- | solenv/flatpak-manifest.in | 6 |
10 files changed, 38 insertions, 118 deletions
diff --git a/download.lst b/download.lst index f655afe44f11..f7deed7b6b3b 100644 --- a/download.lst +++ b/download.lst @@ -12,8 +12,8 @@ export APR_TARBALL := apr-1.5.2.tar.gz export APR_UTIL_SHA256SUM := 976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19 export APR_UTIL_TARBALL := apr-util-1.5.4.tar.gz # please repack the tarball using external/boost/repack_tarball.sh -export BOOST_SHA256SUM := 35e06a3bd7cd8f66be822c7d64e80c2b6051a181e9e897006917cb8e7988a543 -export BOOST_TARBALL := boost_1_71_0.tar.xz +export BOOST_SHA256SUM := cc378a036a1cfd3af289f3da24deeb8dba7a729f61ab104c7b018a622e22d21b +export BOOST_TARBALL := boost_1_75_0.tar.xz export BOX2D_SHA256SUM := 58ffc8475a8650aadc351345aef696937747b40501ab78d72c197c5ff5b3035c export BOX2D_TARBALL := box2d-2.3.1.tar.gz export BREAKPAD_SHA256SUM := 7060149be16a8789b0ccf596bdeaf63115f03f520acb508f72a14686fb311cb9 diff --git a/external/boost/0001-This-bug-was-fixed-in-VC-2013-workaround-no-longer-a.patch.2 b/external/boost/0001-This-bug-was-fixed-in-VC-2013-workaround-no-longer-a.patch.2 deleted file mode 100644 index 6645cae56a67..000000000000 --- a/external/boost/0001-This-bug-was-fixed-in-VC-2013-workaround-no-longer-a.patch.2 +++ /dev/null @@ -1,40 +0,0 @@ -From c0e9b4de19c465ab4cff52288b87d527b826cd22 Mon Sep 17 00:00:00 2001 -From: dodheim <dodheim@gmail.com> -Date: Sun, 23 Aug 2015 20:43:54 -0700 -Subject: [PATCH] This bug was fixed in VC++ 2013, workaround no longer - applicable. - ---- - include/boost/proto/expr.hpp | 2 +- - include/boost/proto/generate.hpp | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/boost/proto/expr.hpp b/include/boost/proto/expr.hpp -index 1bd6498..2c355c2 100644 ---- a/include/boost/proto/expr.hpp -+++ b/include/boost/proto/expr.hpp -@@ -92,7 +92,7 @@ namespace boost { namespace proto - - // Work-around for: - // https://connect.microsoft.com/VisualStudio/feedback/details/765449/codegen-stack-corruption-using-runtime-checks-when-aggregate-initializing-struct -- #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1700)) -+ #if BOOST_WORKAROUND(BOOST_MSVC, < 1800) - template<typename T, typename Expr, typename C, typename U> - BOOST_FORCEINLINE - Expr make_terminal(T &t, Expr *, proto::term<U C::*> *) -diff --git a/include/boost/proto/generate.hpp b/include/boost/proto/generate.hpp -index 4762741..3a600c4 100644 ---- a/include/boost/proto/generate.hpp -+++ b/include/boost/proto/generate.hpp -@@ -230,7 +230,7 @@ namespace boost { namespace proto - - // Work-around for: - // https://connect.microsoft.com/VisualStudio/feedback/details/765449/codegen-stack-corruption-using-runtime-checks-when-aggregate-initializing-struct -- #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1700)) -+ #if BOOST_WORKAROUND(BOOST_MSVC, < 1800) - template<typename Class, typename Member> - BOOST_FORCEINLINE - Extends<expr<tag::terminal, proto::term<Member Class::*> > > operator ()(expr<tag::terminal, proto::term<Member Class::*> > const &e) const --- -2.29.2 - diff --git a/external/boost/StaticLibrary_boost_date_time.mk b/external/boost/StaticLibrary_boost_date_time.mk index 573947fd71ee..2045243590e5 100644 --- a/external/boost/StaticLibrary_boost_date_time.mk +++ b/external/boost/StaticLibrary_boost_date_time.mk @@ -30,10 +30,8 @@ $(eval $(call gb_StaticLibrary_use_external,boost_date_time,boost_headers)) $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_date_time,cpp)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_date_time,\ - UnpackedTarball/boost/libs/date_time/src/gregorian/date_generators \ UnpackedTarball/boost/libs/date_time/src/gregorian/gregorian_types \ UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month \ - UnpackedTarball/boost/libs/date_time/src/gregorian/greg_weekday \ )) # vim: set noet sw=4 ts=4: diff --git a/external/boost/StaticLibrary_boost_filesystem.mk b/external/boost/StaticLibrary_boost_filesystem.mk index a49f06b6dba5..483e0a79b6ca 100644 --- a/external/boost/StaticLibrary_boost_filesystem.mk +++ b/external/boost/StaticLibrary_boost_filesystem.mk @@ -24,6 +24,8 @@ $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_filesystem,cpp)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_filesystem,\ UnpackedTarball/boost/libs/filesystem/src/codecvt_error_category \ + UnpackedTarball/boost/libs/filesystem/src/directory \ + UnpackedTarball/boost/libs/filesystem/src/exception \ UnpackedTarball/boost/libs/filesystem/src/operations \ UnpackedTarball/boost/libs/filesystem/src/path \ UnpackedTarball/boost/libs/filesystem/src/path_traits \ diff --git a/external/boost/UnpackedTarball_boost.mk b/external/boost/UnpackedTarball_boost.mk index 4ab57368fa1d..db956c916df5 100644 --- a/external/boost/UnpackedTarball_boost.mk +++ b/external/boost/UnpackedTarball_boost.mk @@ -33,17 +33,8 @@ boost_patches += boost-android-unified.patch.1 boost_patches += windows-no-utf8-locales.patch.0 -boost_patches += gcc9.patch.0 - boost_patches += msvc2017.patch.0 -# boost/format/alt_sstream_impl.hpp part covered by <https://github.com/boostorg/format/pull/70> -# "Removed deprecated std::allocator<void>": -boost_patches += c++20-allocator.patch.0 - -# First appears in <https://github.com/boostorg/proto/releases/tag/boost-1.72.0>: -boost_patches += 0001-This-bug-was-fixed-in-VC-2013-workaround-no-longer-a.patch.2 - $(eval $(call gb_UnpackedTarball_UnpackedTarball,boost)) $(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL))) diff --git a/external/boost/c++20-allocator.patch.0 b/external/boost/c++20-allocator.patch.0 deleted file mode 100644 index 30a34e1b216d..000000000000 --- a/external/boost/c++20-allocator.patch.0 +++ /dev/null @@ -1,24 +0,0 @@ ---- boost/bimap/detail/bimap_core.hpp -+++ boost/bimap/detail/bimap_core.hpp -@@ -404,8 +404,8 @@ - < - relation, - core_indices, -- BOOST_DEDUCED_TYPENAME parameters::allocator:: -- BOOST_NESTED_TEMPLATE rebind<relation>::other -+ typename std::allocator_traits<BOOST_DEDUCED_TYPENAME parameters::allocator>:: -+ BOOST_NESTED_TEMPLATE rebind_alloc<relation> - - > core_type; - ---- boost/format/alt_sstream_impl.hpp -+++ boost/format/alt_sstream_impl.hpp -@@ -258,7 +258,7 @@ - void *vdptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0); - newptr = static_cast<Ch *>(vdptr); - #else -- newptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0); -+ newptr = std::allocator_traits<compat_allocator_type>::allocate(alloc_, new_size, is_allocated_? oldptr : 0); - #endif - } - diff --git a/external/boost/clang-cl.patch.0 b/external/boost/clang-cl.patch.0 index 49259a0d5783..45137f9ff1f1 100644 --- a/external/boost/clang-cl.patch.0 +++ b/external/boost/clang-cl.patch.0 @@ -18,31 +18,3 @@ // Deal with VC 2010 output_iterator_tag requirement typedef array_iterator<T,T*,mpl::size_t<NumDims>,reference, mutable_iterator_tag> iterator; - -# clang-cl cannot use MSVC's ATOMIC_FLAG_INIT: ---- boost/smart_ptr/detail/spinlock.hpp -+++ boost/smart_ptr/detail/spinlock.hpp -@@ -43,7 +43,7 @@ - #elif defined( BOOST_SP_USE_PTHREADS ) - # include <boost/smart_ptr/detail/spinlock_pt.hpp> - --#elif !defined( BOOST_NO_CXX11_HDR_ATOMIC ) -+#elif !defined( BOOST_NO_CXX11_HDR_ATOMIC ) && !(defined __clang__ && defined _MSC_VER && _MSC_VER == 1916) - # include <boost/smart_ptr/detail/spinlock_std_atomic.hpp> - - #elif defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ ) - -# workdir/UnpackedTarball/boost/libs/thread/src/win32/thread.cpp(1006,36) : error: dllimport cannot be applied to non-inline function definition -# BOOST_THREAD_DECL void __cdecl on_process_enter() -# ^ ---- boost/thread/detail/config.hpp -+++ boost/thread/detail/config.hpp -@@ -396,7 +396,7 @@ - #else //Use default - # if defined(BOOST_THREAD_PLATFORM_WIN32) - # if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) \ -- || defined(__MINGW32__) || defined(MINGW32) || defined(BOOST_MINGW32) -+ || defined(__MINGW32__) || defined(MINGW32) || defined(BOOST_MINGW32) || defined __clang__ - //For compilers supporting auto-tss cleanup - //with Boost.Threads lib, use Boost.Threads lib - # define BOOST_THREAD_USE_LIB diff --git a/external/boost/gcc9.patch.0 b/external/boost/gcc9.patch.0 deleted file mode 100644 index f9ddfa519d3f..000000000000 --- a/external/boost/gcc9.patch.0 +++ /dev/null @@ -1,10 +0,0 @@ ---- boost/bimap/detail/map_view_iterator.hpp -+++ boost/bimap/detail/map_view_iterator.hpp -@@ -165,6 +165,7 @@ - : base_(iter.base()) {} - const_map_view_iterator(map_view_iterator<Tag,BimapCore> i) - : base_(i.base()) {} -+ const_map_view_iterator & operator = (const_map_view_iterator const &) = default; - - BOOST_DEDUCED_TYPENAME base_::reference dereference() const - { diff --git a/external/boost/include/boost/property_tree/ptree_fwd.hpp b/external/boost/include/boost/property_tree/ptree_fwd.hpp new file mode 100644 index 000000000000..4088ab20a460 --- /dev/null +++ b/external/boost/include/boost/property_tree/ptree_fwd.hpp @@ -0,0 +1,31 @@ +/* generated by bin/gen-boost-headers, do not edit! */ +#pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" /* first! for GCC */ +#pragma GCC diagnostic ignored "-Wunknown-warning-option" // second! for Clang 5 +#pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor" +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wdeprecated-copy" +#pragma GCC diagnostic ignored "-Wdeprecated-copy-dtor" +#pragma GCC diagnostic ignored "-Wextra" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#pragma GCC diagnostic ignored "-Winvalid-constexpr" +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend" +#pragma GCC diagnostic ignored "-Wnon-virtual-dtor" +#pragma GCC diagnostic ignored "-Wnonnull" +#pragma GCC diagnostic ignored "-Wparentheses" +#pragma GCC diagnostic ignored "-Wplacement-new" +#pragma GCC diagnostic ignored "-Wreturn-type" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wundef" +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wunused-macros" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#include_next <boost/property_tree/ptree_fwd.hpp> +#pragma GCC diagnostic pop diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in index d506c1cc6ffa..5935312c8e71 100644 --- a/solenv/flatpak-manifest.in +++ b/solenv/flatpak-manifest.in @@ -159,10 +159,10 @@ "dest-filename": "external/tarballs/EmojiOneColor-SVGinOT-1.3.tar.gz" }, { - "url": "https://dev-www.libreoffice.org/src/boost_1_71_0.tar.xz", - "sha256": "35e06a3bd7cd8f66be822c7d64e80c2b6051a181e9e897006917cb8e7988a543", + "url": "https://dev-www.libreoffice.org/src/boost_1_75_0.tar.xz", + "sha256": "cc378a036a1cfd3af289f3da24deeb8dba7a729f61ab104c7b018a622e22d21b", "type": "file", - "dest-filename": "external/tarballs/boost_1_71_0.tar.xz" + "dest-filename": "external/tarballs/boost_1_75_0.tar.xz" }, { "url": "https://dev-www.libreoffice.org/src/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz", |