mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-mta/sendmail: fix compilation with >=sys-libs/db-5.0.0 for version 8.19.0.0
Closes: https://bugs.gentoo.org/971182 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/45946 Closes: https://github.com/gentoo/gentoo/pull/45946 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
b15176b347
commit
fd866d03a2
14
mail-mta/sendmail/files/sendmail-8.19.0.0-newdb.patch
Normal file
14
mail-mta/sendmail/files/sendmail-8.19.0.0-newdb.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Link: https://narkive.com/H54UQbMD.3
|
||||
Bug: https://bugs.gentoo.org/971182
|
||||
|
||||
--- a/libsmdb/smdb2.c
|
||||
+++ b/libsmdb/smdb2.c
|
||||
@@ -440,7 +440,7 @@
|
||||
|
||||
static void
|
||||
db_err_cb(
|
||||
-# if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
|
||||
+# if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
|
||||
const DB_ENV *dbenv, const char *errpfx, const char *msg
|
||||
# else
|
||||
const char *errpfx, char *msg
|
||||
@@ -85,6 +85,7 @@ PDEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.13.1-delivered_hdr.patch
|
||||
"${FILESDIR}"/${PN}-8.16.1-build-system.patch
|
||||
"${FILESDIR}"/${PN}-8.19.0.0-newdb.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
Reference in New Issue
Block a user