spidermonkey-17: fixup build with gcc-7 via Fedora patch
This failed many builds through the polkit dependency.
This commit is contained in:
parent
3610d63d72
commit
e3bbc4a503
@ -18,6 +18,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/js/src";
|
postUnpack = "sourceRoot=\${sourceRoot}/js/src";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchurl {
|
||||||
|
name = "jsoptparse-gcc7.patch";
|
||||||
|
url = "https://src.fedoraproject.org/cgit/rpms/mozjs17.git/plain/"
|
||||||
|
+ "mozjs17.0.0-gcc7.patch?id=43b846629a299f";
|
||||||
|
sha256 = "17plyaq0jwf9wli4zlgvh4ri3zyk6nj1fiakh3wnd37nsl90raf9";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
patchFlags = "-p3";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Fixes an issue with version detection under perl 5.22.x
|
# Fixes an issue with version detection under perl 5.22.x
|
||||||
sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
|
sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
|
||||||
|
Loading…
Reference in New Issue
Block a user