summaryrefslogtreecommitdiff
path: root/misc/xiphos/files/patch-cmake_config.h.cmake.in
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 08:23:29 +0200
committerTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 08:24:55 +0200
commit860a8925ed960299eda8f12d70845d074fcae626 (patch)
tree4c8d45d665a229da4c26b27a6670afbae1ef7aa3 /misc/xiphos/files/patch-cmake_config.h.cmake.in
parentsecurity/wolfssl: Updates to v4.8.1 (diff)
misc/xiphos: Fix build with glib 2.68.3
Obtained from [1] via [2]. [1] https://aur.archlinux.org/cgit/aur.git/tree/xiphos-glibc.patch?h=xiphos [2] https://github.com/crosswire/xiphos/issues/1083 PR: 256200
Diffstat (limited to 'misc/xiphos/files/patch-cmake_config.h.cmake.in')
-rw-r--r--misc/xiphos/files/patch-cmake_config.h.cmake.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/xiphos/files/patch-cmake_config.h.cmake.in b/misc/xiphos/files/patch-cmake_config.h.cmake.in
new file mode 100644
index 000000000000..3d5629fa43d7
--- /dev/null
+++ b/misc/xiphos/files/patch-cmake_config.h.cmake.in
@@ -0,0 +1,15 @@
+Fix build with glib 2.68.3
+
+Obtained from [1] via [2].
+
+[1] https://aur.archlinux.org/cgit/aur.git/tree/xiphos-glibc.patch?h=xiphos
+[2] https://github.com/crosswire/xiphos/issues/1083
+
+--- cmake/config.h.cmake.in.orig 2021-07-24 06:17:00 UTC
++++ cmake/config.h.cmake.in
+@@ -65,3 +65,5 @@
+
+
+ #endif
++
++#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26)