3
0
Fork 0
forked from mirrors/nixpkgs

monotone: add patch reverting old clang hack

modern clang has __float128 and the old declaration hack causes a
build failure
This commit is contained in:
Robert Scott 2022-05-20 21:38:52 +01:00
parent 6fe704d008
commit 335334d1c6

View file

@ -2,6 +2,7 @@
, lua, pcre, sqlite, perl, pkg-config, expect, less
, bzip2, gmp, openssl
, autoreconfHook, texinfo
, fetchpatch
}:
let
@ -33,6 +34,12 @@ stdenv.mkDerivation rec {
patches = [
./monotone-1.1-Adapt-to-changes-in-pcre-8.42.patch
./monotone-1.1-adapt-to-botan2.patch
(fetchpatch {
name = "rm-clang-float128-hack.patch";
url = "https://github.com/7c6f434c/monotone-mirror/commit/5f01a3a9326a8dbdae7fc911b208b7c319e5f456.patch";
revert = true;
sha256 = "0fzjdv49dx5lzvqhkvk50lkccagwx8h0bfha4a0k6l4qh36f9j7c";
})
];
postPatch = ''