summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-10 13:47:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-10 13:47:12 +0000
commit0e760d0a3f74772c2be6a38420dbac01a5b6c023 (patch)
treeb68163820571e8ff2935373bac97710555595ccb /mail-mta/sendmail
parentMask nls USE flag for wine until gettext is included in emul set (bug #351224). (diff)
downloadgentoo-2-0e760d0a3f74772c2be6a38420dbac01a5b6c023.tar.gz
gentoo-2-0e760d0a3f74772c2be6a38420dbac01a5b6c023.tar.bz2
gentoo-2-0e760d0a3f74772c2be6a38420dbac01a5b6c023.zip
Add patch to build against berkdb 5 (bug #321299).
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta/sendmail')
-rw-r--r--mail-mta/sendmail/ChangeLog8
-rw-r--r--mail-mta/sendmail/files/sendmail-8.14.4+db-5.0.patch13
-rw-r--r--mail-mta/sendmail/sendmail-8.14.4.ebuild5
3 files changed, 22 insertions, 4 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 45c1d1a26128..b84a22d37191 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/sendmail
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.91 2010/02/01 19:54:56 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.92 2011/01/10 13:47:12 flameeyes Exp $
+
+ 10 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> sendmail-8.14.4.ebuild,
+ +files/sendmail-8.14.4+db-5.0.patch:
+ Add patch to build against berkdb 5 (bug #321299).
01 Feb 2010; Markus Meier <maekke@gentoo.org> sendmail-8.14.4.ebuild:
amd64 stable, bug #299120
diff --git a/mail-mta/sendmail/files/sendmail-8.14.4+db-5.0.patch b/mail-mta/sendmail/files/sendmail-8.14.4+db-5.0.patch
new file mode 100644
index 000000000000..99ecbe081674
--- /dev/null
+++ b/mail-mta/sendmail/files/sendmail-8.14.4+db-5.0.patch
@@ -0,0 +1,13 @@
+Index: sendmail-8.14.4/include/sm/bdb.h
+===================================================================
+--- sendmail-8.14.4.orig/include/sm/bdb.h
++++ sendmail-8.14.4/include/sm/bdb.h
+@@ -19,7 +19,7 @@
+ # define DB_VERSION_MAJOR 1
+ # endif /* ! DB_VERSION_MAJOR */
+
+-# if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1
++# if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1) || DB_VERSION_MAJOR >= 5
+
+ # define DBTXN NULL ,
+
diff --git a/mail-mta/sendmail/sendmail-8.14.4.ebuild b/mail-mta/sendmail/sendmail-8.14.4.ebuild
index 0b4303a8fda1..0adc055e9297 100644
--- a/mail-mta/sendmail/sendmail-8.14.4.ebuild
+++ b/mail-mta/sendmail/sendmail-8.14.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.14.4.ebuild,v 1.6 2010/02/01 19:54:56 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.14.4.ebuild,v 1.7 2011/01/10 13:47:12 flameeyes Exp $
EAPI="2"
@@ -49,6 +49,7 @@ src_prepare() {
epatch "${FILESDIR}"/sendmail-build-system.patch
epatch "${FILESDIR}"/sendmail-delivered_hdr.patch
epatch "${FILESDIR}"/libmilter-sharedlib.patch
+ epatch "${FILESDIR}"/${P}+db-5.0.patch
local confCC="$(tc-getCC)"
local confCCOPTS="${CFLAGS}"