git.iko.soy/typeable/nixpkgs
on master help sign in
webkitgtk: fix build with glibc-2.23

... by a patch accepted upstream. 2.4 seems to build fine without patching.

commit13afef0d8ec6058e8d42f3ea8cb1f0932bef0c2f authorVladimír Čunát <vcunat@gmail.com> dateSat 27 Feb 2016, 11:07 (11 years ago) parent3cf9cd8
1 file changed+9−2
pkgs/development/libraries/webkitgtk/default.nix+9−2
pkgs/development/libraries/webkitgtk/default.nix+9−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, python, ruby, bison, gperf, cmake
1+{ stdenv, fetchurl, fetchpatch, perl, python, ruby, bison, gperf, cmake
22, pkgconfig, gettext, gobjectIntrospection, libnotify
33, gtk2, gtk3, wayland, libwebp, enchant
44, libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs
@@ -28,7 +28,14 @@ stdenv.mkDerivation rec {
2828 sha256 = "0mghsbfnmmf6nsf7cb3ah76s77aigkzf3k6kw96wgh6all6jdy6v";
2929 };
3030
31− patches = [ ./finding-harfbuzz-icu.patch ];
31+ patches = [ ./finding-harfbuzz-icu.patch
32+ (fetchpatch {
33+ name = "glibc-isnan.patch";
34+ url = "http://trac.webkit.org/changeset/194518/trunk/Source/JavaScriptCore"
35+ + "/runtime/Options.cpp?format=diff&new=194518";
36+ sha256 = "0pzdv1zmlym751n9d310cx3yp752yzsc49cysbvgnrib4dh68nbm";
37+ })
38+ ];
3239
3340 cmakeFlags = [ "-DPORT=GTK" "-DUSE_LIBHYPHEN=0" ];
3441