compile problem synaptics driver against 6.8.99.15

wuno at lsvw.de wuno at lsvw.de
Sat Jul 23 06:15:41 PDT 2005


>
>Try this patch. The synaptics driver comes with deprecated headers.
>
>
>--- orig-synaptics-0.14.2/Xincludes/usr/X11R6/include/X11/Xfuncproto.h
>2005-03-29 00:29:50.000000000 +0800 
>+++ synaptics-0.14.2/Xincludes/usr/X11R6/include/X11/Xfuncproto.h
> 2005-03-29 00:29:50.000000000 +0800 
>@@ -69,4 +69,12 @@ 
> #endif 
> #endif /* _XFUNCPROTOBEGIN */ 
>  
>+#if defined(__GNUC__) && (__GNUC__ >= 4) 
>+# define _X_SENTINEL(x) __attribute__ ((__sentinel__(x))) 
>+# define _X_ATTRIBUTE_PRINTF(x,y)
>__attribute__((__format__(__printf__,x,y))) 
>+#else 
>+# define _X_SENTINEL(x) 
>+# define _X_ATTRIBUTE_PRINTF(x,y) 
>+#endif /* GNUC >= 4 */ 
>+ 
> #endif /* _XFUNCPROTO_H_ */
>

worked fine, many thanks
Couldnt synaptics use the Xorg-headers?



More information about the xorg mailing list