gnome2.glibgnome: fixup build with updated glib

This commit is contained in:
Vladimír Čunát 2017-09-28 11:58:56 +02:00
parent f1ffca9ac6
commit f1e6c43d45
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
};
outputs = [ "out" "dev" ];
patches = [ ./new-glib.patch ];
/* There's a comment containing an invalid utf-8 sequence, breaking glib-mkenums. */
postPatch = "sed '/returns the true filename/d' -i libgnome/gnome-config.h";
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra libtool ];