Merge pull request #204868 from sg2002/fix/lib2geom-i686

lib2geom: fix tests on i686
This commit is contained in:
Jan Tojnar 2022-12-13 04:24:40 +01:00 committed by GitHub
commit f789cbfe91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ stdenv
, fetchpatch
, fetchFromGitLab
, cmake
, ninja
@ -25,6 +26,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-SNo5YT7o29zdxkHLuy9MT88qBg/U1Wwa3BWShF5ACTc=";
};
patches = [
# Fixed upstream, remove when the new version releases:
# https://gitlab.com/inkscape/lib2geom/-/issues/49
(fetchpatch {
name = "expect-double-eq-in-choose-test.patch";
url = "https://gitlab.com/inkscape/lib2geom/-/commit/5b7c75dd3841cb415f163f0a81f556c57d3e0a83.patch";
sha256 = "RMgwJkylrGFTTrqBzqs5j2LMSLsHhcE/UT1pKBZnU50=";
})
];
nativeBuildInputs = [
cmake
ninja