On 14 September 2014 18:53, Hu Tao <hu...@cn.fujitsu.com> wrote:
> commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only available
> in pixman >= 0.21.8. If pixman doesn't meet the version requirement, qemu
> will fail to build with following message:
>
> /home/hutao/qemu/ui/qemu-pixman.c: In function ‘qemu_pixelformat_from_pixman’:
> /home/hutao/qemu/ui/qemu-pixman.c:42: error: ‘PIXMAN_TYPE_RGBA’ undeclared 
> (first use in this function)
> /home/hutao/qemu/ui/qemu-pixman.c:42: error: (Each undeclared identifier is 
> reported only once
> /home/hutao/qemu/ui/qemu-pixman.c:42: error: for each function it appears in.)
>
> This patch fixes the problem by checking the pixman version.

This alone is not sufficient, because the version of pixman
we have in our submodule is only 0.18.4. We also need to
bump that if we want to use newer versions (and to note
the increased dependency in our release notes next time
round).

thanks
-- PMM

Reply via email to