diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2020-11-26 10:11:58 +0000 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2020-11-26 10:11:58 +0000 |
commit | 03b1607f3078604ecb8649e02a6a4af9d72848ec (patch) | |
tree | 0e73af1211f4a27e007687a4a54d22ba9336afdd /dev-libs | |
parent | Fix base of patch path (diff) | |
download | patches-03b1607f3078604ecb8649e02a6a4af9d72848ec.tar.bz2 patches-03b1607f3078604ecb8649e02a6a4af9d72848ec.tar.xz patches-03b1607f3078604ecb8649e02a6a4af9d72848ec.zip |
Remove boost patches now upstream
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/boost/boost-1.73.0-c++20-format.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-libs/boost/boost-1.73.0-c++20-format.patch b/dev-libs/boost/boost-1.73.0-c++20-format.patch deleted file mode 100644 index fbd96d2..0000000 --- a/dev-libs/boost/boost-1.73.0-c++20-format.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e47eef3b6bfed3a56ac1cd3d3601d99910e66f66 Mon Sep 17 00:00:00 2001 -From: LE GARREC Vincent <github@le-garrec.fr> -Date: Mon, 28 Oct 2019 13:01:04 +0100 -Subject: [PATCH] Removed deprecated std::allocator<void> - -Fix issue#67 - -Based on patch from LibreOffice -https://cgit.freedesktop.org/libreoffice/core/commit/?id=677c8de4fa79cd9b278b142013ba7f1c9e4e41c3 - -and pull request from boost/bimap -https://github.com/boostorg/bimap/pull/15 ---- - include/boost/format/alt_sstream_impl.hpp | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/include/boost/format/alt_sstream_impl.hpp b/include/boost/format/alt_sstream_impl.hpp -index 998f8b2e..a9d43425 100644 ---- a/boost/format/alt_sstream_impl.hpp -+++ b/boost/format/alt_sstream_impl.hpp -@@ -255,10 +255,20 @@ namespace boost { - if(0 < add_size) { - new_size += add_size; - #ifdef _RWSTD_NO_CLASS_PARTIAL_SPEC -+ #ifdef BOOST_NO_CXX11_ALLOCATOR - void *vdptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0); -+ #else -+ void *vdptr = std::allocator_traits<compat_allocator_type>::allocate( -+ alloc_, new_size, is_allocated_? oldptr : 0); -+ #endif - newptr = static_cast<Ch *>(vdptr); - #else -+ #ifdef BOOST_NO_CXX11_ALLOCATOR - newptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0); -+ #else -+ newptr = std::allocator_traits<compat_allocator_type>::allocate( -+ alloc_, new_size, is_allocated_? oldptr : 0); -+ #endif - #endif - } - |