commit: 1d398aedb77a4c6ebec64a7a0e156261d5be2223 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Mon Apr 19 11:08:55 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Mon Apr 19 11:12:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d398aed
app-text/xiphos: fix dev-libs/glib-2.68.0 build error Closes: https://bugs.gentoo.org/784089 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> .../xiphos/files/xiphos-4.2.1-glib_version_min_required.patch | 10 ++++++++++ app-text/xiphos/xiphos-4.2.1.ebuild | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app-text/xiphos/files/xiphos-4.2.1-glib_version_min_required.patch b/app-text/xiphos/files/xiphos-4.2.1-glib_version_min_required.patch new file mode 100644 index 00000000000..10bca560fb0 --- /dev/null +++ b/app-text/xiphos/files/xiphos-4.2.1-glib_version_min_required.patch @@ -0,0 +1,10 @@ +--- a/cmake/config.h.cmake.in ++++ b/cmake/config.h.cmake.in +@@ -63,5 +63,7 @@ + // strcasestr + #cmakedefine HAVE_STRCASESTR 1 + ++// glib-2.68.0+ compatibility ++#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26) + + #endif diff --git a/app-text/xiphos/xiphos-4.2.1.ebuild b/app-text/xiphos/xiphos-4.2.1.ebuild index a79db9af729..6dab6793c98 100644 --- a/app-text/xiphos/xiphos-4.2.1.ebuild +++ b/app-text/xiphos/xiphos-4.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -39,6 +39,7 @@ BDEPEND="${COMMON} PATCHES=( "${FILESDIR}"/${PN}-4.2.1-appdata_metainfo.patch + "${FILESDIR}"/${PN}-4.2.1-glib_version_min_required.patch ) src_configure() {
