Merge pull request #175211 from risicle/ris-liblouis-darwin-fix

liblouis: fix darwin build with patch
This commit is contained in:
Ben Siraphob 2022-05-30 07:10:23 +00:00 committed by GitHub
commit 66c7d3ca6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = [