From feec813163eeebf9596facdabf0ae2662a8b0cc1 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 4 Dec 2017 20:50:25 +0100 Subject: net-p2p/airdcpp-webclient: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/6440 --- ...airdcpp-webclient-2.1.0-disable-automagic.patch | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.1.0-disable-automagic.patch (limited to 'net-p2p/airdcpp-webclient') 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 index 4e8360e69677..000000000000 --- a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.1.0-disable-automagic.patch +++ /dev/null @@ -1,40 +0,0 @@ -commit 8ca829a832db304769ac0d107471ab23d4ce3cce -Author: Louis Sautier -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 -- cgit v1.2.3-65-gdbad