From 2dae738752d1f19f862626bf38ead9ed4ff77fb4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 8 Jan 2022 14:32:05 +0100 Subject: [PATCH] libcryptui: fix build with latest gnupg --- pkgs/development/libraries/libcryptui/default.nix | 4 +++- .../{fix-gnupg-2.2.patch => fix-latest-gnupg.patch} | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) rename pkgs/development/libraries/libcryptui/{fix-gnupg-2.2.patch => fix-latest-gnupg.patch} (94%) diff --git a/pkgs/development/libraries/libcryptui/default.nix b/pkgs/development/libraries/libcryptui/default.nix index 00eca6e06776..89b7dfa66444 100644 --- a/pkgs/development/libraries/libcryptui/default.nix +++ b/pkgs/development/libraries/libcryptui/default.nix @@ -10,7 +10,9 @@ stdenv.mkDerivation rec { }; patches = [ - ./fix-gnupg-2.2.patch # based on https://gitlab.gnome.org/GNOME/libcryptui/-/commit/b05e301d1b264a5d8f07cb96e5edc243d99bff79.patch + # based on https://gitlab.gnome.org/GNOME/libcryptui/-/commit/b05e301d1b264a5d8f07cb96e5edc243d99bff79.patch + # https://gitlab.gnome.org/GNOME/libcryptui/-/merge_requests/1 + ./fix-latest-gnupg.patch ]; nativeBuildInputs = [ pkg-config intltool autoreconfHook ]; diff --git a/pkgs/development/libraries/libcryptui/fix-gnupg-2.2.patch b/pkgs/development/libraries/libcryptui/fix-latest-gnupg.patch similarity index 94% rename from pkgs/development/libraries/libcryptui/fix-gnupg-2.2.patch rename to pkgs/development/libraries/libcryptui/fix-latest-gnupg.patch index 50d5e0c82c1c..e12b584d16eb 100644 --- a/pkgs/development/libraries/libcryptui/fix-gnupg-2.2.patch +++ b/pkgs/development/libraries/libcryptui/fix-latest-gnupg.patch @@ -17,7 +17,7 @@ index 4486e7b2..be5b28b4 100644 if test "$DO_CHECK" = "yes"; then - accepted_versions="1.2 1.4 2.0" -+ accepted_versions="1.2 1.4 2.0 2.2" ++ accepted_versions="1.2 1.4 2.0 2.2 2.3" AC_PATH_PROGS(GNUPG, [gpg gpg2], no) AC_DEFINE_UNQUOTED(GNUPG, "$GNUPG", [Path to gpg executable.]) ok="no"