enchant: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-04 01:38:05 +01:00
parent b1b0b6e3e7
commit 50438a70c8

View file

@ -1,6 +1,7 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, aspell , aspell
, groff , groff
, pkg-config , pkg-config
@ -22,6 +23,14 @@ stdenv.mkDerivation rec {
hash = "sha256-ZoanKOVudg+N7gmiLw+1O0bunb59ZM+eW7NaZYv/fh0="; hash = "sha256-ZoanKOVudg+N7gmiLw+1O0bunb59ZM+eW7NaZYv/fh0=";
}; };
patches = [
# fix build with clang 16
(fetchpatch {
url = "https://github.com/AbiWord/enchant/commit/f71eb22e4af7f9917011807a41cf295d3ce0ccbc.patch";
hash = "sha256-9WWvpU3HKzPlxNBYQAKPppW6G3kOIC2A+MqX5eheBDA=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
groff groff
pkg-config pkg-config