parent
c65707bc25
commit
1caac6f2dc
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, readline, autoreconfHook }:
|
||||
{ stdenv, fetchurl, fetchpatch, ncurses, readline, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.7.0";
|
||||
@ -14,7 +14,14 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ ncurses readline ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
patches = [ ./0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch ];
|
||||
patches = [
|
||||
./0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-16707.patch";
|
||||
url = "https://github.com/hunspell/hunspell/commit/ac938e2ecb48ab4dd21298126c7921689d60571b.patch";
|
||||
sha256 = "0bwfksz87iy7ikx3fb54zd5ww169qfm9kl076hsch3cs8p30s8az";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
|
Loading…
Reference in New Issue
Block a user