mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ocamlPackages.lablgtk3: fix build with Clang
This commit is contained in:
parent
48422449b8
commit
bdf4f3570a
@ -1,4 +1,4 @@
|
||||
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator
|
||||
{ lib, fetchurl, fetchpatch, pkg-config, buildDunePackage, dune-configurator
|
||||
, gtk3, cairo2
|
||||
, camlp-streams
|
||||
}:
|
||||
@ -14,6 +14,13 @@ buildDunePackage rec {
|
||||
hash = "sha256-bxEVMzfnaH5yHVxAmifNYOy8GnSivLLgSE/9+1yxBI4=";
|
||||
};
|
||||
|
||||
# Fix build with clang 16
|
||||
# See: https://github.com/garrigue/lablgtk/pull/175
|
||||
patches = fetchpatch {
|
||||
url = "https://github.com/garrigue/lablgtk/commit/a9b64b9ed8a13855c672cde0a2d9f78687f4214b.patch";
|
||||
hash = "sha256-j/L+yYKLlj410jx2VG77hnn9SVHCcSzmr3wpOMZhX5w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dune-configurator camlp-streams ];
|
||||
propagatedBuildInputs = [ gtk3 cairo2 ];
|
||||
|
Loading…
Reference in New Issue
Block a user