From dfa078951fb505cf78f8bf3503c130685a17b8c2 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 22 Jun 2018 18:15:20 -0400 Subject: [PATCH] libtorrentRasterbar: fix build with boost167 --- .../libraries/libtorrent-rasterbar/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix index 335400b80ef..5323b757b2b 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }: +{ stdenv, fetchurl, fetchpatch, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }: stdenv.mkDerivation rec { name = "libtorrent-rasterbar-${version}"; @@ -11,6 +11,13 @@ stdenv.mkDerivation rec { sha256 = "0vbw7wcw8x9787rq5fwaibpvvspm3237l8ahbf20gjpzxhn4yfwc"; }; +patches = [ + (fetchpatch { + url = "https://github.com/arvidn/libtorrent/commit/64d6b4900448097b0157abb328621dd211e2947d.patch"; + sha256 = "0d4h0g129rsgm8xikybxypgv6nnya7ap7kskl7q78p4h6y2a0fhc"; + }) +]; + nativeBuildInputs = [ automake autoconf libtool pkgconfig ]; buildInputs = [ boost openssl zlib python libiconv geoip ];