[PATCH:libXinerama] Const fix.
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Jun 2 16:31:30 PDT 2013
On 06/ 2/13 01:10 PM, Thomas Klausner wrote:
> ---
> src/Xinerama.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Xinerama.c b/src/Xinerama.c
> index 67a35b5..17e8ec8 100644
> --- a/src/Xinerama.c
> +++ b/src/Xinerama.c
> @@ -51,7 +51,7 @@ static inline void _XEatDataWords(Display *dpy, unsigned long n)
>
> static XExtensionInfo _panoramiX_ext_info_data;
> static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data;
> -static const char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;
> +static char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;
>
> #define PanoramiXCheckExtension(dpy,i,val) \
> XextCheckExtension (dpy, i, panoramiX_extension_name, val)
>
Nope, you need to build with current libXext headers instead.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list