[PATCH] Allow disabling XFree86-DGA, DRI, VidModeExtension extensions

Peter Hutterer peter.hutterer at who-t.net
Mon Aug 5 21:51:44 PDT 2013


On Mon, Aug 05, 2013 at 08:46:45PM -0700, Alan Coopersmith wrote:
> Code to recognize these in extension enable/disable options was wrapped
> in #ifdef XorgLoader, but that's not defined when building miinitext.c
> since the great module merge of 1.13.  Change to an #ifdef that is defined.
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> Reviewed-by: Robert Hooker <robert.hooker at canonical.com>
> Reviewed-by: Daniel Stone <daniel at fooishbar.org>
> ---
>  mi/miinitext.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mi/miinitext.c b/mi/miinitext.c
> index 81c663a..dbca9f7 100644
> --- a/mi/miinitext.c
> +++ b/mi/miinitext.c
> @@ -157,7 +157,7 @@ static ExtensionToggle ExtensionToggleList[] = {
>  #ifdef XF86BIGFONT
>      {"XFree86-Bigfont", &noXFree86BigfontExtension},
>  #endif
> -#ifdef XorgLoader
> +#ifdef XORGSERVER
>  #ifdef XFreeXDGA
>      {"XFree86-DGA", &noXFree86DGAExtension},
>  #endif
> -- 
> 1.7.9.2
> 

scooped this up, will get a pull request out in a minute.

Cheers,
   Peter


More information about the xorg-devel mailing list