fontforge: Apply patch to avoid segfault.

This segfault appears when trying to build some fonts such as openmoji. See https://github.com/NixOS/nixpkgs/pull/70177 for discussion.
main
Kevin Cox 3 years ago committed by erictapen
parent 807d3ec359
commit a5704278e8
  1. 6
      pkgs/tools/misc/fontforge/default.nix

@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
url = "https://salsa.debian.org/fonts-team/fontforge/raw/76bffe6ccf8ab20a0c81476a80a87ad245e2fd1c/debian/patches/0001-add-extra-cmake-install-rules.patch";
sha256 = "u3D9od2xLECNEHhZ+8dkuv9818tPkdP6y/Tvd9CADJg=";
})
# Fix segmentation fault with some fonts.
# This is merged and should be present in the next release.
(fetchpatch {
url = "https://github.com/fontforge/fontforge/commit/69e263b2aff29ad22f97f13935cfa97a1eabf207.patch";
sha256 = "06yyf90605aq6ppfiz83mqkdmnaq5418axp9jgsjyjq78b00xb29";
})
];
# use $SOURCE_DATE_EPOCH instead of non-deterministic timestamps

Loading…
Cancel
Save