liblouis: fix darwin build with patch

This commit is contained in:
Robert Scott 2022-05-29 00:32:12 +01:00
parent 9b22c4ee98
commit 327af2f90f

View File

@ -1,5 +1,7 @@
{ fetchFromGitHub
, lib, stdenv
, lib
, stdenv
, fetchpatch
, autoreconfHook
, pkg-config
, gettext
@ -21,6 +23,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Hfn0dfXihtUfO3R+qJaetrPwupcIwblvi1DQdHCF1s8=";
};
patches = [
(fetchpatch {
name = "parenthesize-memcpy-calls-clang.patch";
url = "https://github.com/liblouis/liblouis/commit/528f38938e9f539a251d9de92ad1c1b90401c4d0.patch";
sha256 = "0hlhqsvd5wflg70bd7bmssnchk8znzbr93in0zpspzbyap6xz112";
})
];
outputs = [ "out" "dev" "man" "info" "doc" ];
nativeBuildInputs = [