about summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-06-22 18:15:20 -0400
committerGitHub <noreply@github.com>2018-06-22 18:15:20 -0400
commitdfa078951fb505cf78f8bf3503c130685a17b8c2 (patch)
tree3c7aca75dee0715338ae9417196433fae6a518b5
parente1e9b197f9749b28b31cbb1e79465700dd89baaa (diff)
downloadnixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar.gz
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar.bz2
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar.lz
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar.xz
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.tar.zst
nixlib-dfa078951fb505cf78f8bf3503c130685a17b8c2.zip
libtorrentRasterbar: fix build with boost167
-rw-r--r--pkgs/development/libraries/libtorrent-rasterbar/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix
index 335400b80efc..5323b757b2bc 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 ];