diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-09-29 21:52:57 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-09-30 16:31:50 +0200 |
| commit | ac25d15d85f470a448b07b3d1049d9549ba01aa6 (patch) | |
| tree | 0070d04f3aac22d9df8330f281f748a2ef11dec4 /dev-cpp/lucene++/files | |
| parent | bbc1170fe2b7397582ccedf95dc8eeb8eed629df (diff) | |
| download | gentoo-ac25d15d85f470a448b07b3d1049d9549ba01aa6.tar.gz gentoo-ac25d15d85f470a448b07b3d1049d9549ba01aa6.tar.bz2 gentoo-ac25d15d85f470a448b07b3d1049d9549ba01aa6.zip | |
dev-cpp/lucene++: drop 3.0.7-r3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-cpp/lucene++/files')
| -rw-r--r-- | dev-cpp/lucene++/files/lucene++-3.0.7-boost-1.58.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-cpp/lucene++/files/lucene++-3.0.7-boost-1.58.patch b/dev-cpp/lucene++/files/lucene++-3.0.7-boost-1.58.patch deleted file mode 100644 index 9ff33fd03005..000000000000 --- a/dev-cpp/lucene++/files/lucene++-3.0.7-boost-1.58.patch +++ /dev/null @@ -1,37 +0,0 @@ -commit 1987082cf9278a639d772b4f35a8ae2d34944177 -Author: Václav Slavík <vaclav@slavik.io> -Date: Mon May 4 18:04:46 2015 +0200 - - Fix compilation with Boost 1.58 - - 1.58 introduces strict type checking in boost::get() and while that's - good in theory, the VariantUtils code makes it impractical to use. - Instead, use relaxed_get() to get the old behavior. relaxed_get() didn't - exist in older versions of Boost, so the code must check BOOST_VERSION. - - Fixes #93. - -diff --git a/include/VariantUtils.h b/include/VariantUtils.h -index 1e6c243..5a72e59 100644 ---- a/include/VariantUtils.h -+++ b/include/VariantUtils.h -@@ -8,6 +8,7 @@ - #define VARIANTUTILS_H - - #include <boost/any.hpp> -+#include <boost/version.hpp> - #include "Lucene.h" - #include "MiscUtils.h" - -@@ -22,7 +23,11 @@ public: - - template <typename TYPE, typename VAR> - static TYPE get(VAR var) { -+#if BOOST_VERSION < 105800 - return var.type() == typeid(TYPE) ? boost::get<TYPE>(var) : TYPE(); -+#else -+ return var.type() == typeid(TYPE) ? boost::relaxed_get<TYPE>(var) : TYPE(); -+#endif - } - - template <typename TYPE, typename VAR> |
