[PATCH libXi] fix build with gcc 2.95

Matt Turner mattst88 at gmail.com
Wed Aug 25 14:53:01 PDT 2010


On Wed, Aug 25, 2010 at 4:21 PM, Matthieu Herrb <matthieu.herrb at laas.fr> wrote:
>
> Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
> ---
>  src/XISelEv.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/XISelEv.c b/src/XISelEv.c
> index dad890e..f1f3fa4 100644
> --- a/src/XISelEv.c
> +++ b/src/XISelEv.c
> @@ -104,9 +104,9 @@ XIGetSelectedEvents(Display* dpy, Window win, int *num_masks_return)
>     xXIEventMask *mask_in = NULL, *mi;
>     xXIGetSelectedEventsReq *req;
>     xXIGetSelectedEventsReply reply;
> +    XExtDisplayInfo *info = XInput_find_display(dpy);
>
>     *num_masks_return = -1;
> -    XExtDisplayInfo *info = XInput_find_display(dpy);
>     LockDisplay(dpy);
>     if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
>         goto out;
> --
> 1.7.0.5

Looks like a sufficiently trivial change, but what system still using
gcc 2.95 does anyone care about running modern X.Org on?

Might as well...
Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the xorg-devel mailing list