1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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 = {