net-p2p/airdcpp-webclient: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 4 Dec 2017 19:50:25 +0000 (20:50 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 6 Dec 2017 13:03:58 +0000 (00:03 +1100)
Closes: https://github.com/gentoo/gentoo/pull/6440

net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.1.0-disable-automagic.patch [deleted file]

diff --git a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.1.0-disable-automagic.patch b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.1.0-disable-automagic.patch
deleted file mode 100644 (file)
index 4e8360e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-commit 8ca829a832db304769ac0d107471ab23d4ce3cce
-Author: Louis Sautier <sautier.louis@gmail.com>
-Date:   Wed Jun 21 23:10:03 2017 +0200
-
-    Add options to disable libnatpnp and tbb support
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4d8a49c7..826fce3b 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -47,6 +47,10 @@ endif()
- 
- 
- # OPTIONS
-+OPTION(ENABLE_NATPMP "Enable support for the NAT-PMP protocol via libnatpmp"
-+  ON)
-+OPTION(ENABLE_TBB "Enable support of the TBB library to improve performance"
-+  ON)
- 
- # 1.x had a different default value
- unset(INSTALL_RUNTIME_PATH CACHE)
-@@ -99,12 +103,16 @@ find_package (OpenSSL REQUIRED)
- find_package (Threads REQUIRED)
- find_package (Iconv REQUIRED)
- find_package (Miniupnpc REQUIRED)
--find_package (LibNatpmp)
-+if(ENABLE_NATPMP)
-+  find_package (LibNatpmp)
-+endif()
- find_package (Git)
- find_package (LevelDB REQUIRED)
- find_package (websocketpp REQUIRED)
- find_package (Backtrace)
--find_package (TBB)
-+if(ENABLE_TBB)
-+  find_package (TBB)
-+endif()
- 
- if (NOT BUILD_SHARED_LIBS)
-   # Shared LevelDB libraries are linked against Snappy already