cvs commit: ports/x11/luit Makefile distinfo ports/x11/luit/files patch-luit.c

Andrey Chernov ache at FreeBSD.ORG
Mon Oct 10 21:58:57 UTC 2011


On Mon, Oct 10, 2011 at 05:35:11PM -0400, Eitan Adler wrote:
> On Mon, Oct 10, 2011 at 3:43 PM, Andrey Chernov <ache at freebsd.org> wrote:
> > I report already that it needs -DBSD.
> > Since you don't add -DBSD, it immediatelly exits with the following error:
> > "Couldn't drop privileges: Function not implemented"
> 
> I've been running with this exact port since it was committed to the
> xorg-devel repository without issue. That said I plan on a commit to
> fix this issue fairly soon.
> 
> >
> > BTW, this bug is already fixed in luit development, see:
> > https://bugs.freedesktop.org/show_bug.cgi?id=41513

It happens only if builded luit port have WITH_SETUID_LUIT set, otherwise 
you don't notice the bug.

The simplest way to build correctly v1.1.0 is just to add -DBSD.
xorg fix it in development using __FreeBSD__ instead:

commit 82bec8b84d90d37f75f10b3abe9ec34a3415a622
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Thu Oct 6 10:50:54 2011 -0700

    Fix ifdef-foo for the BSDs which are still living in the 90s

    NetBSD and FreeBSD still don't _POSIX_SAVED_IDS

    https://bugs.freedesktop.org/show_bug.cgi?id=41513

    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

-- 
http://ache.vniz.net/


More information about the cvs-all mailing list