yad: ad-hoc patching to fix undefined reference errors
This commit is contained in:
parent
0b060bdf68
commit
cb896a1e7f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue