summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-07-06 09:43:34 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-06 11:16:57 +0300
commit9f2da161ce9cdeefee50565d407493cd9704e8d6 (patch)
tree084fa8194e0251b2cedc4c2edc6cb19c27a9c1be /net-p2p
parentnet-irc/emech: remove unused patch (diff)
downloadgentoo-9f2da161ce9cdeefee50565d407493cd9704e8d6.tar.gz
gentoo-9f2da161ce9cdeefee50565d407493cd9704e8d6.tar.bz2
gentoo-9f2da161ce9cdeefee50565d407493cd9704e8d6.zip
net-p2p/retroshare: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/retroshare/files/retroshare-0.6.6-fix-cxx17-compilation.patch58
1 files changed, 0 insertions, 58 deletions
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__)