purePackages.stldict: fix build with gcc 4.9 (ZHF)
This commit is contained in:
parent
d3a4fe374f
commit
4d154c3371
|
@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for f in hashdict.cc orddict.cc; do
|
||||
sed -i '1i\#include <stddef.h>' $f
|
||||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ pure ];
|
||||
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
||||
|
|
Loading…
Reference in a new issue