On Fri, Nov 11, 2005, Steffen Weinreich wrote:
> Ralf S. Engelschall wrote:
>
> >On Fri, Nov 11, 2005, Ralf S. Engelschall wrote:
> >
> >>So, my suggestion is: try to apply the following hunk from db.patch
> >>to the "mysql" local copy of Berkeley-DB (in subdir bdb/):
> >>
> >>Index: os/os_open.c
> >>--- os/os_open.c.orig 2004-09-28 18:46:57 +0200
> >>+++ os/os_open.c 2004-11-11 20:04:31 +0100
> >>@@ -121,7 +121,7 @@
> >> if (LF_ISSET(DB_OSO_EXCL))
> >> oflags |= O_EXCL;
> >>
> >>-#ifdef HAVE_O_DIRECT
> >>+#if defined(HAVE_O_DIRECT) && defined(__FreeBSD__)
> >> if (LF_ISSET(DB_OSO_DIRECT))
> >> oflags |= O_DIRECT;
> >>#endif
> >
> >I've applied the patches in CURRENT now as they might not solve your
> >problem but are reasonable anyway, too. So you can simply retry with the
> >"mysql" from CURRENT for your testing...
>
> Thanks ralf, that version build without problems under Deb31 Linux2.4.
> Is this a candidate for a MFC?
Just "builds" or even "runs"? If it also _RUNS_ I'll MFC it, yes.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]