diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-07 12:24:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-07 12:24:47 +0100 |
commit | 5d8ffbc273ca664e15618d557ced3e02de1a884b (patch) | |
tree | bc22fbc6a07790fd70dc8b5148de3089a1c4db3e /net-p2p/retroshare | |
parent | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (diff) |
gentoo auto-resync : 07:07:2024 - 12:24:46
Diffstat (limited to 'net-p2p/retroshare')
-rw-r--r-- | net-p2p/retroshare/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/retroshare/files/retroshare-0.6.6-fix-cxx17-compilation.patch | 58 |
2 files changed, 0 insertions, 59 deletions
diff --git a/net-p2p/retroshare/Manifest b/net-p2p/retroshare/Manifest index 146bb502f603..dd7e9c3fd703 100644 --- a/net-p2p/retroshare/Manifest +++ b/net-p2p/retroshare/Manifest @@ -1,4 +1,3 @@ -AUX retroshare-0.6.6-fix-cxx17-compilation.patch 1753 BLAKE2B aeba3e200eaf78867220227b766d2e396322d93e14afa885ba8ac5d8d5c88b9806a1fc90a00b2e7a364cdfcfa04776da9974293a394fc4d946ca30716daf931c SHA512 09f146aaaa9570eb4b01a9b325acbf6648d88ddde222128f709ecc89038ce5d8c9fba046abdf36547b4ee7e653bf058a3a51f775a78e71b760e0e513d43005e6 DIST retroshare-0.6.7.tar.gz 26506259 BLAKE2B 3c0963c8afbbf741c8c5d22dc9c9f86f82d1a338a9f0dd02065617d16e96738a4d22c2bc30c1ba32c61fcc7beedaa15ac3c185aab429882b0947aa28b8c037b1 SHA512 ff5455b97519878d83c6872dfce457804430938864259f7d0fa5b06ebae161e62ea8300e809a03a821b2ecdf755a3de7465a580882709ae79bfb9c1de855e347 EBUILD retroshare-0.6.7-r1.ebuild 3558 BLAKE2B 3cd498c88a0f4e7bf8acb091a8f8179fb5fb54b2f880c8ff38b7a6d3a86d4b189fcce78b9e282ec1af301b23f4f0eb7e540007927144f5d08f3cc99dbb42d9f5 SHA512 dd58700fae6eade35f183718dc50277e0687fff2e1f01455bd4aa36628f1d000ea60bf390549d7564b120b5e0e13d1144ec2b40b28485cb855829cd9c5185036 MISC metadata.xml 1507 BLAKE2B 3850886e6d5e70ad585ec4083d5fb86a01b962a421cfbeac26862e47dada0adf0cbfa53e31bbbd34b968da72e6395560a6c48b6125e9996f82df2089e383f9a7 SHA512 26cd8010b552892041a688525345922a3412f50d060c319b3c5bf9f135e21d5b1e7bd61b09b91431f716d695471e70b1c9a2c62772b0d3847806e4a923c48382 diff --git a/net-p2p/retroshare/files/retroshare-0.6.6-fix-cxx17-compilation.patch b/net-p2p/retroshare/files/retroshare-0.6.6-fix-cxx17-compilation.patch deleted file mode 100644 index 73c5e1d18cc8..000000000000 --- a/net-p2p/retroshare/files/retroshare-0.6.6-fix-cxx17-compilation.patch +++ /dev/null @@ -1,58 +0,0 @@ -https://github.com/RetroShare/RetroShare/commit/8bed99cc9f3763269b6b1aada45a43c9993d7b80 -From: Gioacchino Mazzurco <gio@eigenlab.org> -Date: Fri, 6 Aug 2021 12:15:34 +0200 -Subject: [PATCH] Fix compilation with C++17 ---- a/libretroshare/src/util/rsdir.cc -+++ b/libretroshare/src/util/rsdir.cc -@@ -64,6 +64,26 @@ - * #define RSDIR_DEBUG 1 - ****/ - -+#if __cplusplus < 201703L -+bool std::filesystem::create_directories(const std::string& path) -+{ -+ for( std::string::size_type lastIndex = 0; lastIndex < std::string::npos; -+ lastIndex = path.find('/', lastIndex) ) -+ { -+ std::string&& curDir = path.substr(0, ++lastIndex); -+ if(!RsDirUtil::checkCreateDirectory(curDir)) -+ { -+ RsErr() << __PRETTY_FUNCTION__ << " failure creating: " << curDir -+ << " of: " << path << std::endl; -+ return false; -+ } -+ } -+ return true; -+} -+#else -+# include <filesystem> -+#endif // __cplusplus < 201703L -+ - std::string RsDirUtil::getTopDir(const std::string& dir) - { - std::string top; -@@ -528,24 +548,6 @@ bool RsDirUtil::checkCreateDirectory(const std::string& dir) - return true; - } - --#if __cplusplus < 201703L --bool std::filesystem::create_directories(const std::string& path) --{ -- for( std::string::size_type lastIndex = 0; lastIndex < std::string::npos; -- lastIndex = path.find('/', lastIndex) ) -- { -- std::string&& curDir = path.substr(0, ++lastIndex); -- if(!RsDirUtil::checkCreateDirectory(curDir)) -- { -- RsErr() << __PRETTY_FUNCTION__ << " failure creating: " << curDir -- << " of: " << path << std::endl; -- return false; -- } -- } -- return true; --} --#endif // __cplusplus < 201703L -- - std::string RsDirUtil::removeSymLinks(const std::string& path) - { - #if defined(WINDOWS_SYS) || defined(__APPLE__) || defined(__ANDROID__) |