diff -Nru seahorse-sharing-3.8.0/debian/changelog seahorse-sharing-3.8.0/debian/changelog --- seahorse-sharing-3.8.0/debian/changelog 2016-09-24 12:28:18.000000000 +0000 +++ seahorse-sharing-3.8.0/debian/changelog 2019-01-14 03:28:17.000000000 +0000 @@ -1,3 +1,10 @@ +seahorse-sharing (3.8.0-0ubuntu3) disco; urgency=medium + + * d/p/build-with-gpg22.patch: Grab patch from upstream Git to fix FTBFS with + GnuPG 2.2. + + -- Logan Rosen Sun, 13 Jan 2019 22:28:17 -0500 + seahorse-sharing (3.8.0-0ubuntu2) yakkety; urgency=medium * Add build-with-gpg21.patch: diff -Nru seahorse-sharing-3.8.0/debian/patches/build-with-gpg22.patch seahorse-sharing-3.8.0/debian/patches/build-with-gpg22.patch --- seahorse-sharing-3.8.0/debian/patches/build-with-gpg22.patch 1970-01-01 00:00:00.000000000 +0000 +++ seahorse-sharing-3.8.0/debian/patches/build-with-gpg22.patch 2019-01-14 03:28:05.000000000 +0000 @@ -0,0 +1,23 @@ +From 0370fb321032a7d830f523f9c508d10addf01cd5 Mon Sep 17 00:00:00 2001 +From: Antoine Jacoutot +Date: Fri, 10 Nov 2017 09:03:47 +0100 +Subject: [PATCH] Accept GnuPG 2.2.x as supported version + +https://bugzilla.gnome.org/show_bug.cgi?id=790153 +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 5e26c8f..2dd01b4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -43,7 +43,7 @@ AC_ARG_ENABLE(gpg-check, + DO_CHECK=$enableval, DO_CHECK=yes) + + if test "$DO_CHECK" = "yes"; then +- accepted_versions="1.2 1.4 2.0 2.1" ++ accepted_versions="1.2 1.4 2.0 2.1 2.2" + AC_PATH_PROGS(GNUPG, [gpg gpg2], no) + ok="no" + if test "$GNUPG" != "no"; then diff -Nru seahorse-sharing-3.8.0/debian/patches/series seahorse-sharing-3.8.0/debian/patches/series --- seahorse-sharing-3.8.0/debian/patches/series 2016-09-24 12:28:18.000000000 +0000 +++ seahorse-sharing-3.8.0/debian/patches/series 2019-01-14 03:28:05.000000000 +0000 @@ -1 +1,2 @@ build-with-gpg21.patch +build-with-gpg22.patch