mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-cpp/msgpack-cxx: drop 5.0.0, 6.0.0, 6.1.0
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
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
|
||||
DIST msgpack-cxx-6.1.0.tar.gz 478452 BLAKE2B 14c6e28ab02957e6313a01002d05c23e2599f433656c8ea8033eb338c6e8b97d10e00a91e1e67bc3b944c3f9b46ad1ea11fc6905d50554699caeed7bd9cbc8f7 SHA512 935453432b53d2cbecc3e34d4fb17ecd3bbc6eae9087fa3c4445c90750f144ab39ad6461cc9552eec7ed2b222315c5f6e8b30d409eb34a98bebe02e03582fd41
|
||||
DIST msgpack-cxx-6.1.1.tar.gz 476459 BLAKE2B 6ec940af9b9e02d892c5f118791015baa6b12baa60c77aaf2ff867e8836f21b4f16c436ce448cdfeb7dc8f8a9356a75f3ac829eba9059ca5d78f42a4393700ff SHA512 6a3df977e7a9c8b50feb7c88cff7a78814d1d41d2f7a657dd37d6cfcfe24f44746f40a6dd46bd5dba7ea59d94b9e40c2baa62c08d9b02168ac93c58cbff3becc
|
||||
DIST msgpack-cxx-8.0.0.tar.gz 480783 BLAKE2B c01a39012dd137e6bd767a350f21e8ddd37d982f01cc95f2b6bf7582823ea79603de332241a77871ba6d7387243cdfe7a514378d591011120dac2b01cc7c9b04 SHA512 8d3a20b04a201a7095556ab901f55ca0ca664940c4b7bebcdddd405fbb3f052fb38720e49aec5259a5513f2c272b9584d8b108139fb7de7d63438ee4258cdfd9
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
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
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MessagePack for C++"
|
||||
HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
|
||||
SRC_URI="https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~x64-macos"
|
||||
IUSE="+boost doc examples test"
|
||||
|
||||
REQUIRED_USE="test? ( boost )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="boost? ( dev-libs/boost[context] )
|
||||
!<dev-libs/msgpack-5.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( app-text/doxygen[dot] )
|
||||
test? ( virtual/zlib )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMSGPACK_BUILD_EXAMPLES=OFF
|
||||
-DMSGPACK_CXX17=ON
|
||||
-DMSGPACK_BUILD_TESTS="$(usex test)"
|
||||
-DMSGPACK_USE_BOOST="$(usex boost)"
|
||||
-DMSGPACK_USE_X3_PARSE="$(usex boost)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
cmake_build doxygen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${BUILD_DIR}"/doc_cpp/html/. )
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r example/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MessagePack for C++"
|
||||
HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
|
||||
SRC_URI="https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
|
||||
IUSE="+boost doc examples test"
|
||||
|
||||
REQUIRED_USE="test? ( boost )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="boost? ( dev-libs/boost[context] )
|
||||
!<dev-libs/msgpack-5.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( app-text/doxygen[dot] )
|
||||
test? ( virtual/zlib )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${PN}"-6.0.0-gcc13.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMSGPACK_BUILD_EXAMPLES=OFF
|
||||
-DMSGPACK_CXX17=ON
|
||||
-DMSGPACK_BUILD_TESTS="$(usex test)"
|
||||
-DMSGPACK_USE_BOOST="$(usex boost)"
|
||||
-DMSGPACK_USE_X3_PARSE="$(usex boost)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
cmake_build doxygen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${BUILD_DIR}"/doc_cpp/html/. )
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r example/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MessagePack for C++"
|
||||
HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
|
||||
SRC_URI="https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~x64-macos"
|
||||
IUSE="+boost doc examples test"
|
||||
|
||||
REQUIRED_USE="test? ( boost )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="boost? ( dev-libs/boost[context] )
|
||||
!<dev-libs/msgpack-5.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( app-text/doxygen[dot] )
|
||||
test? ( virtual/zlib )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMSGPACK_BUILD_EXAMPLES=OFF
|
||||
-DMSGPACK_CXX17=ON
|
||||
-DMSGPACK_BUILD_TESTS="$(usex test)"
|
||||
-DMSGPACK_USE_BOOST="$(usex boost)"
|
||||
-DMSGPACK_USE_X3_PARSE="$(usex boost)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
cmake_build doxygen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${BUILD_DIR}"/doc_cpp/html/. )
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r example/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user