yad: ad-hoc patching to fix undefined reference errors

This commit is contained in:
Joachim Fasting 2016-03-26 15:54:07 +01:00
parent 0b060bdf68
commit cb896a1e7f

View file

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig intltool ];
postPatch = ''
sed -i src/file.c -e '21i#include <glib/gprintf.h>'
sed -i src/form.c -e '21i#include <stdlib.h>'
'';
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
meta = {