mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
fbreader: fixup build with curl-7.62
This was easy to patch; submitted upstream.
This commit is contained in:
parent
9a37ec0d61
commit
17acf57f9d
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig
|
||||
, bzip2, curl, expat, fribidi, libunibreak, sqlite, zlib
|
||||
, uiTarget ? if !stdenv.isDarwin then "desktop" else "macosx"
|
||||
, uiType ? if !stdenv.isDarwin then "qt4" else "cocoa"
|
||||
|
@ -25,7 +25,14 @@ stdenv.mkDerivation {
|
|||
sha256 = "0lzafk02mv0cf2l2a61q5y4743zi913byik4bw1ix0gr1drnsa7y";
|
||||
};
|
||||
|
||||
patches = [ ./typecheck.patch ];
|
||||
patches = [
|
||||
./typecheck.patch
|
||||
(fetchpatch {
|
||||
name = "curl-7_62.diff"; # see https://github.com/geometer/FBReader/pull/311
|
||||
url = "https://github.com/geometer/FBReader/commit/b7c78e965d06f780.diff";
|
||||
sha256 = "1dgnx9wps7hcf8fkidc7037vcf92fr3ccnjx7bgxm9x02j0hngjg";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
cat << EOF > makefiles/target.mk
|
||||
|
|
Loading…
Reference in a new issue