git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42405 from worldofpeace/patch-3

libtorrentRasterbar: fix build with boost167

commit9c0ebbe7a36d7296e81d97c85cba35aee7bd8334 authorMatthew Justin Bauer <mjbauer95@gmail.com> dateFri 22 Jun 2018, 20:26 (8 years ago) parenta006243dfa0789
1 file changed+8−1
pkgs/development/libraries/libtorrent-rasterbar/default.nix+8−1
pkgs/development/libraries/libtorrent-rasterbar/default.nix+8−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }:
1+{ stdenv, fetchurl, fetchpatch, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }:
22
33stdenv.mkDerivation rec {
44 name = "libtorrent-rasterbar-${version}";
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
1111 sha256 = "0vbw7wcw8x9787rq5fwaibpvvspm3237l8ahbf20gjpzxhn4yfwc";
1212 };
1313
14+patches = [
15+ (fetchpatch {
16+ url = "https://github.com/arvidn/libtorrent/commit/64d6b4900448097b0157abb328621dd211e2947d.patch";
17+ sha256 = "0d4h0g129rsgm8xikybxypgv6nnya7ap7kskl7q78p4h6y2a0fhc";
18+ })
19+];
20+
1421 nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
1522 buildInputs = [ boost openssl zlib python libiconv geoip ];
1623