Skip to content

Commit

Permalink
Merge pull request NixOS#175441 from NixOS/backport-175211-to-release…
Browse files Browse the repository at this point in the history
…-22.05

[Backport release-22.05] liblouis: fix darwin build with patch
  • Loading branch information
thiagokokada authored May 30, 2022
2 parents b0aae9a + 44aa4d1 commit 2c1f2cc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkgs/development/libraries/liblouis/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{ fetchFromGitHub
, lib, stdenv
, lib
, stdenv
, fetchpatch
, autoreconfHook
, pkg-config
, gettext
Expand All @@ -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 = [
Expand Down

0 comments on commit 2c1f2cc

Please sign in to comment.