at-spi2-core: fix build with clang 16

Add missing header for implicit declaration of `strcasecmp`.
This commit is contained in:
Randy Eckenrode 2023-07-11 14:21:41 -06:00
parent 03bf9ffd85
commit 865b541b7a
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -32,6 +33,14 @@ stdenv.mkDerivation rec {
sha256 = "NzFt9DypmJzlOdVM9CmnaMKLs4oLNJUL6t0EIYJ+31U=";
};
patches = [
# Fix implicit declaration of `strcasecmp`, which is an error on clang 16.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/147.patch";
hash = "sha256-UU2n//Z9F1SyUGyuDKsiwZDyThsp/tJprz/zolDDTyw=";
})
];
nativeBuildInputs = [
glib
meson