Loading pkgs/applications/office/homebank/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { hash = "sha256-YMNf6v40GuyP7Z3ksKh13A9cFnTF9YBP9xkKbGxT3AE="; }; patches = [ ./fix-clang-build.diff ]; nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ]; buildInputs = [ gtk libofx libsoup_3 gnome.adwaita-icon-theme]; Loading pkgs/applications/office/homebank/fix-clang-build.diff 0 → 100644 +23 −0 Original line number Diff line number Diff line C Standard says in 6.8.1: labeled-statement: identifier : statement case constant-expression : statement default : statement Notably, only expressions and no declarations are allowed. A common workaround for this is adding an empty statement. diff --git a/src/rep-budget.c b/src/rep-budget.c index eb5cce6..61e2e77 100644 --- a/src/rep-budget.c +++ b/src/rep-budget.c @@ -255,7 +255,7 @@ gint tmpmode; } else { -libname: +libname: ; gchar *name; gtk_tree_model_get(model, iter, Loading
pkgs/applications/office/homebank/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { hash = "sha256-YMNf6v40GuyP7Z3ksKh13A9cFnTF9YBP9xkKbGxT3AE="; }; patches = [ ./fix-clang-build.diff ]; nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ]; buildInputs = [ gtk libofx libsoup_3 gnome.adwaita-icon-theme]; Loading
pkgs/applications/office/homebank/fix-clang-build.diff 0 → 100644 +23 −0 Original line number Diff line number Diff line C Standard says in 6.8.1: labeled-statement: identifier : statement case constant-expression : statement default : statement Notably, only expressions and no declarations are allowed. A common workaround for this is adding an empty statement. diff --git a/src/rep-budget.c b/src/rep-budget.c index eb5cce6..61e2e77 100644 --- a/src/rep-budget.c +++ b/src/rep-budget.c @@ -255,7 +255,7 @@ gint tmpmode; } else { -libname: +libname: ; gchar *name; gtk_tree_model_get(model, iter,