From: Bastian Germann <bage@debian.org>
Date: Sat, 23 Oct 2021 22:32:15 +0200
Bug: https://github.com/crosswire/xiphos/issues/1083
Subject: Fix FTBFS: template with C linkage

This patch was suggested upstream by Ildar Mulyukov <ildar.mulyukov@gmail.com>.
It is already applied by various other distributions.
---
 cmake/config.h.cmake.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/config.h.cmake.in b/cmake/config.h.cmake.in
index e77cd88..793ce30 100644
--- a/cmake/config.h.cmake.in
+++ b/cmake/config.h.cmake.in
@@ -65,3 +65,5 @@
 
 
 #endif
+
+#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26)
