[PATCH xserver] Xext: fix build with --disable-xace

Andrew Eikum aeikum at codeweavers.com
Tue Oct 27 06:19:19 PDT 2015


Makes sense to me. Apologies for breaking your build.

Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Tue, Oct 27, 2015 at 01:23:13PM +0100, Julien Cristau wrote:
> Regression from 990cf5b2828f73dc7a07f1e38f608af39acfd81d
> 
> Signed-off-by: Julien Cristau <jcristau at debian.org>
> Cc: Andrew Eikum <aeikum at codeweavers.com>
> Cc: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  Xext/xace.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Xext/xace.h b/Xext/xace.h
> index 3303f76..6a8d0c4 100644
> --- a/Xext/xace.h
> +++ b/Xext/xace.h
> @@ -112,6 +112,7 @@ extern _X_EXPORT void XaceCensorImage(ClientPtr client,
>  
>  #ifdef __GNUC__
>  #define XaceHook(args...) Success
> +#define XaceHookIsSet(args...) 0
>  #define XaceHookDispatch(args...) Success
>  #define XaceHookPropertyAccess(args...) Success
>  #define XaceHookSelectionAccess(args...) Success
> @@ -119,6 +120,7 @@ extern _X_EXPORT void XaceCensorImage(ClientPtr client,
>  #define XaceCensorImage(args...) { ; }
>  #else
>  #define XaceHook(...) Success
> +#define XaceHookIsSet(...) 0
>  #define XaceHookDispatch(...) Success
>  #define XaceHookPropertyAccess(...) Success
>  #define XaceHookSelectionAccess(...) Success
> -- 
> 2.6.1
> 


More information about the xorg-devel mailing list