[PATCH] xorg-wrapper: fix build without libdrm

Hans de Goede hdegoede at redhat.com
Mon Oct 19 02:14:21 PDT 2015


Hi,

On 19-10-15 11:03, Samuel Thibault wrote:
> Hans de Goede, le Mon 19 Oct 2015 10:56:26 +0200, a écrit :
>> In which case would you want to build without libdrm anyways ? Can you
>> explain the use-case for this patch ?
>
> Systems with no drm support, simply :)

Actually I do not think it is that simple, e.g. IIRC the openbsd
people have their own solution for non requiring root rights.

Also with your patch people may accidentally end up build the
root-wrapper on Linux without libdrm resulting in a root-wrapper
which will just always launch the xserver as root.

If you're doing this with certain platforms in mind, maybe
we need to only not check for libdrm on those platforms ?

Regards,

Hans


More information about the xorg-devel mailing list