summaryrefslogtreecommitdiff
path: root/dev-cpp/msgpack-cxx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-18 17:55:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-18 17:55:42 +0100
commitb481b54b8432c46df354eedc3532b0420a38fd5a (patch)
tree02cc62a183cabccf4aa944e0d15b047b383abf16 /dev-cpp/msgpack-cxx
parent7288c6e5fa05acddbf692a5187d925ef85662b46 (diff)
gentoo auto-resync : 18:04:2023 - 17:55:41
Diffstat (limited to 'dev-cpp/msgpack-cxx')
-rw-r--r--dev-cpp/msgpack-cxx/Manifest3
-rw-r--r--dev-cpp/msgpack-cxx/files/msgpack-cxx-6.0.0-gcc13.patch49
-rw-r--r--dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild4
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-cpp/msgpack-cxx/Manifest b/dev-cpp/msgpack-cxx/Manifest
index e7904b6f31b3..404b56884ce1 100644
--- a/dev-cpp/msgpack-cxx/Manifest
+++ b/dev-cpp/msgpack-cxx/Manifest
@@ -1,5 +1,6 @@
+AUX msgpack-cxx-6.0.0-gcc13.patch 1516 BLAKE2B b6da40e88b4e90cba6cdff1c68d8cb6ca2dae43bdf328afa1f6bfcc55d7e557e270f550d126dbacbda8e07d1b62e916dc7ff9864ec4179d08c14bc594d710ae7 SHA512 72a52401e2a1834243eac124c7dd5d8b958772d40586ad84012c691b71e6881526eeba1cbc8e2df58da3a4f83549c59a0b43d39b470f39351f772ae1a72914d2
DIST msgpack-cxx-5.0.0.tar.gz 476103 BLAKE2B e631a47e8d39b6ad9c2dd5e782fbbd5044c177e18c619fb52d1293e2c5f2ea7e766e7b26ce6cac36a2ff98217143e12456e0541992afb4f78597ffd3852f2acf SHA512 5ee0237eb1bf05bd4becad32ab145a8f0654f8f0e2e3452331ed3df088cda03ee4cdf1557ba867447e3e18baed924c105c76934f7009dac98b6dc69282c39d0c
DIST msgpack-cxx-6.0.0.tar.gz 476132 BLAKE2B 89b6505511bd8f6994a2e61661c7a33bd1aa68804c081ec2fcaf074f845caf4338ac362916af9fb0bab7285b0d0508c74b229316fa75ef8083546ac84c4ca95d SHA512 90f89216676af5a656d570fbff5a716d1177fa1941b0a928b2da20e0b6cd6d0ca880b7369e085dbbca944499c05694a73df919042d8cd78498ed4b34b77a0e9d
EBUILD msgpack-cxx-5.0.0.ebuild 1222 BLAKE2B 9842e077f4ef2e9272c68bddf4ea8df88fee05b03ec8a0af56bf52f9daf9cbd98d25e1cbee0e85d1e4429d61cb6c2827f802a6f219a2f759936f20b3fbbf71f4 SHA512 7ce8208c9d271eef22e38214932dbe5d29b14209aeacca536abf4bd77eba046e0ce113eda56299e1987e9be927048a0bdaeb18a9357fc79ab496736aa1854c67
-EBUILD msgpack-cxx-6.0.0.ebuild 1222 BLAKE2B 9842e077f4ef2e9272c68bddf4ea8df88fee05b03ec8a0af56bf52f9daf9cbd98d25e1cbee0e85d1e4429d61cb6c2827f802a6f219a2f759936f20b3fbbf71f4 SHA512 7ce8208c9d271eef22e38214932dbe5d29b14209aeacca536abf4bd77eba046e0ce113eda56299e1987e9be927048a0bdaeb18a9357fc79ab496736aa1854c67
+EBUILD msgpack-cxx-6.0.0.ebuild 1276 BLAKE2B 6871c1c5aa559c85a00c870fbff7d8ab35abecd4aeea0b5b14f3338c14dbee2fb3c3391e2fd6c5be47b652a7cc01e10d46d6b24eaddea2fba49e4b4cd8616b35 SHA512 b9c14ef7301e1df5124f5745174767f2c1d6f5f693b9331ca9468ea2e38a4ed635f94e58c09c6557bef9fda2c5dc93756fbf56732980166650cc4131198861e1
MISC metadata.xml 410 BLAKE2B 2d8ac30a8aa745f32a388a0d66860d2af8de8bdc0e558b713738def49ec87e96b5ee201c4b2cd01f43f213ffd9f107cfcf9679725637f43ec7eed707ada87c69 SHA512 2009980f9bd56a3932a9f0ce56745439c0d29241bc11f3b8c0b2e26fc5a3f74ef9c7784165ed25e6280de4d1ee27e57ff225a5986522e51f50cc03e793625b4a
diff --git a/dev-cpp/msgpack-cxx/files/msgpack-cxx-6.0.0-gcc13.patch b/dev-cpp/msgpack-cxx/files/msgpack-cxx-6.0.0-gcc13.patch
new file mode 100644
index 000000000000..3e0b67675e2d
--- /dev/null
+++ b/dev-cpp/msgpack-cxx/files/msgpack-cxx-6.0.0-gcc13.patch
@@ -0,0 +1,49 @@
+From 2dd3dbc85f5c3ab789792844e50f7423bdb1d3f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@gentoo.org>
+Date: Tue, 18 Apr 2023 15:50:52 +0200
+Subject: [PATCH] test: Add missing rebind to allocators
+
+See https://gcc.gnu.org/gcc-13/porting_to.html
+---
+https://github.com/msgpack/msgpack-c/pull/1065
+
+ test/msgpack_cpp11.cpp | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/test/msgpack_cpp11.cpp b/test/msgpack_cpp11.cpp
+index 2a856cb8..6b04e5a1 100644
+--- a/test/msgpack_cpp11.cpp
++++ b/test/msgpack_cpp11.cpp
+@@ -252,6 +252,9 @@ struct equal_to : std::equal_to<Key> {
+ template <class Key>
+ struct set_allocator : std::allocator<Key> {
+ using std::allocator<Key>::allocator;
++
++ template<class U>
++ struct rebind { using other = set_allocator<U>; };
+ };
+
+ // C++ named requirement Allocator implies that the first template type
+@@ -262,6 +265,9 @@ struct set_allocator : std::allocator<Key> {
+ template <typename KeyValuePair>
+ struct map_allocator_impl : std::allocator<KeyValuePair> {
+ using std::allocator<KeyValuePair>::allocator;
++
++ template<class U>
++ struct rebind { using other = map_allocator_impl<U>; };
+ };
+
+ template <class Key, class T>
+@@ -270,6 +276,9 @@ using map_allocator = map_allocator_impl<std::pair<const Key, T>>;
+ template <class T>
+ struct allocator : std::allocator<T> {
+ using std::allocator<T>::allocator;
++
++ template<class U>
++ struct rebind { using other = allocator<U>; };
+ };
+
+ } // namespace test
+--
+2.40.0
+
diff --git a/dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild b/dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild
index 8e3609f7d111..d28443c3f1fa 100644
--- a/dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild
+++ b/dev-cpp/msgpack-cxx/msgpack-cxx-6.0.0.ebuild
@@ -24,6 +24,10 @@ DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen[dot] )
test? ( sys-libs/zlib )"
+PATCHES=(
+ "${FILESDIR}"/"${PN}"-6.0.0-gcc13.patch
+)
+
src_configure() {
local mycmakeargs=(
-DMSGPACK_BUILD_EXAMPLES=OFF