On 29/11/13 16:23, Chí-Thanh Christopher Nguyễn wrote: > This fixes building against the new API in X server 1.15 > Taken from xf86-video-modesetting beca4dfb0e4d11d3729214967a1fe56ee5669831 > from Keith Packard Hi Chí-Thanh Christopher Nguyễn,
Are there any Gentoo people actually using the X.Org state tracker ? To be on the safe side make sure that you explicitly mention the branch within the commit. Note: this patch is not needed(nor applies) for 10.0 or master, as the xorg state tracker was deleted during the 10-devel cycle. Cc: "9.2" <[email protected]> ~Emil > --- > src/gallium/state_trackers/xorg/xorg_driver.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c > b/src/gallium/state_trackers/xorg/xorg_driver.c > index 9d7713c..4671ba7 100644 > --- a/src/gallium/state_trackers/xorg/xorg_driver.c > +++ b/src/gallium/state_trackers/xorg/xorg_driver.c > @@ -62,6 +62,10 @@ > #include "libkms/libkms.h" > #endif > > +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0) > +#define DamageUnregister(d, dd) DamageUnregister(dd) > +#endif > + > /* > * Functions and symbols exported to Xorg via pointers. > */ > _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
