fsv: fix build with gettext 0.20

This commit is contained in:
rnhmjoj 2019-12-18 00:26:41 +01:00
parent 8d5f5e7e3e
commit 705cc53817
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -26,6 +26,11 @@ in stdenv.mkDerivation rec {
sha256 = "0n09jd7yqj18mx6zqbg7kab4idg5llr15g6avafj74fpg1h7iimj";
};
postPatch = ''
# fix build with gettext 0.20
sed -i 's/AM_GNU_GETTEXT/AM_GNU_GETTEXT([external])/' configure.in
'';
nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
buildInputs = [ file gtk2 libGLU gtkglarea ];