summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-12-17 14:14:52 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-12-17 14:15:16 +0200
commitab4e2d7bbcd2621bf86330ffb992ac840088ee83 (patch)
tree321d56dba661de9cc5720c2ba78e47f7dd580e8e /sys-libs
parentdev-ml/findlib: Stabilize 1.8.1-r1 amd64, #757447 (diff)
downloadgentoo-ab4e2d7bbcd2621bf86330ffb992ac840088ee83.tar.gz
gentoo-ab4e2d7bbcd2621bf86330ffb992ac840088ee83.tar.bz2
gentoo-ab4e2d7bbcd2621bf86330ffb992ac840088ee83.zip
sys-libs/gdbm: Allow gettext 0.18 *or later*
Closes: https://bugs.gentoo.org/696838 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/gdbm/files/gdbm-1.18.1-gettext.patch12
-rw-r--r--sys-libs/gdbm/gdbm-1.18.1-r1.ebuild5
2 files changed, 16 insertions, 1 deletions
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 000000000000..2f0c0c450733
--- /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 a4583e1df778..b7c4e924cac2 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