summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-18 14:45:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-18 14:45:05 +0000
commitc85b640bd455190a0a8b7fe6382b156cfdce52af (patch)
tree8185bd37b397f09bb55f0d4b71a822bb5287ccce /sys-libs/pam/pam-1.1.1-r2.ebuild
parentgcc-4.4 fix (bug 320353), rework libtool files and static libs installation (diff)
downloadgentoo-2-c85b640bd455190a0a8b7fe6382b156cfdce52af.tar.gz
gentoo-2-c85b640bd455190a0a8b7fe6382b156cfdce52af.tar.bz2
gentoo-2-c85b640bd455190a0a8b7fe6382b156cfdce52af.zip
Add patch to fix building with Berkeley DB 5.0, closes bug #319831. Thanks to Lars Wendler for reporting.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/pam/pam-1.1.1-r2.ebuild')
-rw-r--r--sys-libs/pam/pam-1.1.1-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/pam/pam-1.1.1-r2.ebuild b/sys-libs/pam/pam-1.1.1-r2.ebuild
index 4a7195a2e871..1f5b646e2eff 100644
--- a/sys-libs/pam/pam-1.1.1-r2.ebuild
+++ b/sys-libs/pam/pam-1.1.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.1-r2.ebuild,v 1.2 2010/04/26 12:04:09 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.1-r2.ebuild,v 1.3 2010/05/18 14:45:05 flameeyes Exp $
EAPI="3"
@@ -98,6 +98,10 @@ src_prepare() {
# found
epatch "${FILESDIR}/${MY_PN}-1.1.1-xcrypt.patch"
+ # fix building with Berkeley DB 5.0 and later; now defining
+ # DB_DBM_HSEARCH is not enough; bug #319831
+ epatch "${FILESDIR}/${MY_PN}-1.1.1+berkdb-5.patch"
+
# Remove libtool-2 libtool macros, see bug 261167
rm m4/libtool.m4 m4/lt*.m4 || die "rm libtool macros failed."