From ab4e2d7bbcd2621bf86330ffb992ac840088ee83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Thu, 17 Dec 2020 14:14:52 +0200 Subject: [PATCH] sys-libs/gdbm: Allow gettext 0.18 *or later* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/696838 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel --- sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch | 12 ++++++++++++ sys-libs/gdbm/gdbm-1.18.1-r1.ebuild | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch diff --git a/sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch b/sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch new file mode 100644 index 0000000000000..2f0c0c4507339 --- /dev/null +++ b/sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch @@ -0,0 +1,12 @@ +diff -ruN gdbm-1.18.1.orig/configure.ac gdbm-1.18.1/configure.ac +--- gdbm-1.18.1.orig/configure.ac 2018-10-27 08:46:09.000000000 +0300 ++++ gdbm-1.18.1/configure.ac 2020-12-17 14:12:14.249678303 +0200 +@@ -94,7 +94,7 @@ + + dnl Internationalization macros. + AM_GNU_GETTEXT([external], [need-ngettext]) +-AM_GNU_GETTEXT_VERSION(0.18) ++AM_GNU_GETTEXT_REQUIRE_VERSION(0.18) + + AC_CHECK_HEADERS([sys/file.h sys/termios.h string.h locale.h getopt.h]) + diff --git a/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild b/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild index a4583e1df778c..b7c4e924cac22 100644 --- a/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild +++ b/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild @@ -19,7 +19,10 @@ DEPEND=" " RDEPEND="${DEPEND}" -PATCHES=("${FILESDIR}"/${PN}-1.18.1-gcc-10.patch) +PATCHES=( + "${FILESDIR}"/${PN}-1.18.1-gcc-10.patch + "${FILESDIR}"/${PN}-1.18.1-gettext.patch #696838 +) src_prepare() { default