From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPlrN-0007yQ-NY for guix-patches@gnu.org; Thu, 22 Nov 2018 05:05:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPlcZ-00072v-5T for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPlcZ-00072l-1j for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPlcY-0006Zm-V8 for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:02 -0500 Subject: [bug#30159] [PATCH] gnu: Add libtorrent-rasterbar-c++11. Resent-Message-ID: From: Nam Nguyen Date: Thu, 22 Nov 2018 01:49:06 -0800 Message-Id: <20181122094907.22856-2-namn@berkeley.edu> In-Reply-To: <20181122094907.22856-1-namn@berkeley.edu> References: <20181122094907.22856-1-namn@berkeley.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30159@debbugs.gnu.org * gnu/packages/bittorrent.scm (libtorrent-rasterbar-c++11): New variable. --- gnu/packages/bittorrent.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index f73488ff1..406176692 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -406,6 +406,21 @@ focusing on efficiency and scalability. It runs on embedded devices as well as desktops.") (license l:bsd-2))) +(define-public libtorrent-rasterbar-c++11 + (package + (inherit libtorrent-rasterbar) + (name "libtorrent-rasterbar-c++11") + (arguments + (substitute-keyword-arguments (package-arguments libtorrent-rasterbar) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'unpack 'compile-args-c++11 + ;; https://github.com/qbittorrent/qBittorrent/issues/6383#issuecomment-281535787 + (lambda _ + (substitute* "bindings/python/setup.py" + (("\\+ target_specific\\(\\)\\,") + "+ target_specific() + ['-std=c++11'],")))))))))) + (define-public qbittorrent (package (name "qbittorrent") -- 2.19.1