On Fri, Jul 11, 2014 at 15:56:35 -0700, Aaron Plattner wrote:

> When the X server is compiled with --prefix set to something other than /usr,
> then it ends up with a nonstandard sysconfigdir in its .pc file.  This causes
> various other components to install their xorg.conf.d snippets there.
> 
> However, the X server first looks for /usr/share/X11/xorg.conf.d before 
> looking
> in sysconfigdir.  That means that if the system administrator installed 
> anything
> that created that path, the user's custom sysconfigdir is not searched.
> 
> Rather than doing that, just look in the configured sysconfdir and nowhere 
> else.
> 
> Signed-off-by: Aaron Plattner <[email protected]>
> ---
> Here's version 2 that just drops the /usr/share hardcode.
> 
>  hw/xfree86/common/xf86Config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Looks sane to me.

Reviewed-by: Julien Cristau <[email protected]>

Cheers,
Julien
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to