public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-leechcraft/lc-bittorrent/files/
@ 2016-08-11  8:09 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2016-08-11  8:09 UTC (permalink / raw
  To: gentoo-commits

commit:     a10be51d3cce8abc3c5b7644e4d6d07f4af4f3dc
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jul  7 17:13:23 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 08:07:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10be51d

app-leechcraft/lc-bittorrent: remove unused patches

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../lc-bittorrent/files/boost-1.50.patch           | 38 ----------------------
 .../lc-bittorrent/files/boost-1.52.patch           | 14 --------
 2 files changed, 52 deletions(-)

diff --git a/app-leechcraft/lc-bittorrent/files/boost-1.50.patch b/app-leechcraft/lc-bittorrent/files/boost-1.50.patch
deleted file mode 100644
index 2abb319..0000000
--- a/app-leechcraft/lc-bittorrent/files/boost-1.50.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/src/plugins/bittorrent/CMakeLists.txt b/src/plugins/bittorrent/CMakeLists.txt
-index de8a2f9..45d26da 100644
---- a/src/plugins/bittorrent/CMakeLists.txt
-+++ b/src/plugins/bittorrent/CMakeLists.txt
-@@ -153,7 +153,6 @@ IF (WIN32)
- ENDIF (WIN32)
- #ADD_DEFINITIONS(-DBOOST_DYN_LINK)
- ADD_DEFINITIONS(-DTORRENT_LINKING_SHARED)
--ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=2) #workaround for building with boost 1.46
- #ADD_DEFINITIONS(-D_DLL)
- IF (NOT LC_NO_MOC)
- 	QT4_WRAP_CPP (MOC_SRCS ${HEADERS})
-diff --git a/src/plugins/bittorrent/torrentmaker.cpp b/src/plugins/bittorrent/torrentmaker.cpp
-index 313a6a5..467c4d8 100644
---- a/src/plugins/bittorrent/torrentmaker.cpp
-+++ b/src/plugins/bittorrent/torrentmaker.cpp
-@@ -40,7 +40,11 @@ namespace LeechCraft
- 			{
- 				bool FileFilter (const boost::filesystem::path& filename)
- 				{
-+#if BOOST_FILESYSTEM_VERSION == 2
- 					if (filename.leaf () [0] == '.')
-+#else
-+					if (filename.leaf ().string () [0] == '.')
-+#endif
- 						return false;
- 					QFileInfo fi (QString::fromUtf8 (filename.string ().c_str ()));
- 					if ((fi.isDir () ||
-@@ -74,7 +78,9 @@ namespace LeechCraft
- 					return;
- 				}
- 
-+#if BOOST_FILESYSTEM_VERSION == 2
- 				boost::filesystem::path::default_name_check (boost::filesystem::no_check);
-+#endif
- 
- 				libtorrent::file_storage fs;
- #if LIBTORRENT_VERSION_NUM >= 1600

diff --git a/app-leechcraft/lc-bittorrent/files/boost-1.52.patch b/app-leechcraft/lc-bittorrent/files/boost-1.52.patch
deleted file mode 100644
index bb5208a..0000000
--- a/app-leechcraft/lc-bittorrent/files/boost-1.52.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/plugins/bittorrent/torrentplugin.cpp b/src/plugins/bittorrent/torrentplugin.cpp
-index b41f0f2..c20f847 100644
---- a/src/plugins/bittorrent/torrentplugin.cpp
-+++ b/src/plugins/bittorrent/torrentplugin.cpp
-@@ -31,6 +31,9 @@
- #include <QToolBar>
- #include <QHeaderView>
- #include <QInputDialog>
-+#include <boost/preprocessor/seq/size.hpp>
-+#include <boost/preprocessor/seq/elem.hpp>
-+#include <boost/preprocessor/repetition/repeat.hpp>
- #include <libtorrent/session.hpp>
- #include <libtorrent/version.hpp>
- #include <interfaces/entitytesthandleresult.h>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-11  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11  8:09 [gentoo-commits] repo/gentoo:master commit in: app-leechcraft/lc-bittorrent/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox