lol

readstat: fix build failure

gettext 0.25 has been breaking older autoconf setups. Patch it out.

authored by

Sarah Clark and committed by
Weijia Wang
dd958651 4aee423c

+10 -3
+10 -3
pkgs/by-name/re/readstat/package.nix
··· 5 5 fetchpatch, 6 6 autoreconfHook, 7 7 pkg-config, 8 - libiconv, 8 + libtool, 9 9 }: 10 10 11 11 stdenv.mkDerivation rec { ··· 20 20 }; 21 21 22 22 patches = [ 23 + # Remove `gettext` requirement 24 + # https://github.com/WizardMac/ReadStat/issues/341 25 + (fetchpatch { 26 + url = "https://github.com/WizardMac/ReadStat/pull/342/commits/b5512b32d3b3c39e2f0c322df1339a3c61f73712.patch"; 27 + hash = "sha256-k1yeplrx3pFPl5qzLfsAaj+qunv1BqOZypA05xSolaQ="; 28 + }) 29 + 30 + # Add (void) to remove -Wstrict-prototypes warnings 23 31 (fetchpatch { 24 32 url = "https://github.com/WizardMac/ReadStat/commit/211c342a1cfe46fb7fb984730dd7a29ff4752f35.patch"; 25 33 hash = "sha256-nkaEgusylVu7NtzSzBklBuOnqO9qJPovf0qn9tTE6ls="; ··· 36 44 nativeBuildInputs = [ 37 45 pkg-config 38 46 autoreconfHook 47 + libtool 39 48 ]; 40 - 41 - buildInputs = [ libiconv ]; 42 49 43 50 enableParallelBuilding = true; 44 51