--- openldap-2.4.30.ebuild 2012-03-13 18:31:23.000000000 +0200 +++ openldap-2.4.30.ebuild 2012-03-13 23:17:17.000000000 +0200 @@ -253,6 +253,9 @@ # bug #294350 epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch + # bug #408001 + epatch "${FILESDIR}"/${PN}-2.4.28-fdatasync.patch + # unbreak /bin/sh -> dash epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch @@ -298,6 +301,8 @@ #Fix for glibc-2.8 and ucred. Bug 228457. append-flags -D_GNU_SOURCE + use elibc_FreeBSD && append-flags -DMDB_DSYNC=O_SYNC + use debug && myconf="${myconf} $(use_enable debug)" # ICU usage is not configurable