$OpenBSD: patch-configure,v 1.4 2017/11/12 10:46:42 ajacoutot Exp $

From 95b37e2480a2cdc3ee003380b9c587e4663fe872 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Tue, 1 Sep 2015 19:52:11 +0200
Subject: Allow building with gnupg 2.1

From 0370fb321032a7d830f523f9c508d10addf01cd5 Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Fri, 10 Nov 2017 09:03:47 +0100
Subject: Accept GnuPG 2.2.x as supported version

--- configure.orig	Sat Oct 10 12:29:32 2015
+++ configure	Sat Oct 10 12:29:46 2015
@@ -16355,7 +16355,7 @@ fi
 
 
 if test	"$DO_CHECK" = "yes"; then
-	accepted_versions="1.2 1.4 2.0"
+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
 	for ac_prog in gpg gpg2
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
