gnucash: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-14 22:42:52 +02:00
parent e732933aa7
commit 8ff1d64b43

View file

@ -43,9 +43,8 @@ stdenv.mkDerivation rec {
propagatedUserEnvPkgs = [ dconf ];
# glib-2.58 deprecrated g_type_class_add_private
# Should probably be removed next version bump
CXXFLAGS = [ "-Wno-deprecated-declarations" ];
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
patches = [ ./cmake_check_symbol_exists.patch ];