[PATCH] xorg-wrapper: fix build without libdrm

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Oct 19 01:53:05 PDT 2015


Hans de Goede, le Mon 19 Oct 2015 10:44:30 +0200, a écrit :
> >@@ -237,6 +242,7 @@ int main(int argc, char *argv[])
> >              close(fd);
> >          }
> >      }
> >+#endif
> >
> 
> This turns needs_root_rights=auto into needs_root_rights=yes do we really want that
> when not building with libdrm ?

When not building with libdrm we can't detect if it needs root rights.
AIUI XORG_DRIVER_MODESETTING is only enabled when building with drm,
which needs libdrm.

Samuel


More information about the xorg-devel mailing list