Re: [Qemu-devel] [PATCH] fbdev: fix pixman compile on old pixman

2012-11-26 Thread Alexander Graf
On 26.11.2012, at 21:04, Gerd Hoffmann wrote: > Hi, > >> Guard the PIXMAN_TYPE_BGRA branch like in the case right above the failing >> case, so that compilation is fixed. Functionality on such old pixman is a >> different question ;-). > >> +#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8

Re: [Qemu-devel] [PATCH] fbdev: fix pixman compile on old pixman

2012-11-26 Thread Gerd Hoffmann
Hi, > Guard the PIXMAN_TYPE_BGRA branch like in the case right above the failing > case, so that compilation is fixed. Functionality on such old pixman is a > different question ;-). > +#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8) > type = PIXMAN_TYPE_BGRA; > +#endif Vers

[Qemu-devel] [PATCH] fbdev: fix pixman compile on old pixman

2012-11-26 Thread Alexander Graf
My QEMU compile failed with the following error: qemu-pixman.c: In function ‘qemu_pixman_get_type’: qemu-pixman.c:24: error: ‘PIXMAN_TYPE_BGRA’ undeclared (first use in this function) qemu-pixman.c:24: error: (Each undeclared identifier is reported only once qemu-pixman.c:24: error: for each func