[PATCH weston] compositor-rdp: Fix build with freerdp2

Pekka Paalanen ppaalanen at gmail.com
Fri Jan 27 11:26:11 UTC 2017


On Thu, 26 Jan 2017 14:19:49 +0000
Daniel Stone <daniel at fooishbar.org> wrote:

> Hi,
> 
> On 23 January 2017 at 15:45, Daniel Stone <daniel at fooishbar.org> wrote:
> > On 23 January 2017 at 14:15, Pekka Paalanen <ppaalanen at gmail.com> wrote:  
> >> However, updating to net-misc/freerdp-2.0.0_pre20161219 allows things
> >> to build for me again. There is just one warning:  
> >
> > How about this fixup?
> > diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c
> > index e6dad99..d9668e8 100644
> > --- a/libweston/compositor-rdp.c
> > +++ b/libweston/compositor-rdp.c
> > @@ -85,7 +85,7 @@
> >  #define DEFAULT_AXIS_STEP_DISTANCE 10
> >  #define RDP_MODE_FREQ 60 * 1000
> >
> > -#if FREERDP_VERSION_MAJOR >= 2 && defined(PIXEL_FORMAT_BGRA32) &&
> > !defined(RDP_PIXEL_FORMAT_B8G8R8A8)
> > +#if FREERDP_VERSION_MAJOR >= 2 && defined(PIXEL_FORMAT_BGRA32) &&
> > !defined(PIXEL_FORMAT_B8G8R8A8)
> >   /* The RDP API is truly wonderful: the pixel format definition changed
> >   * from BGRA32 to B8G8R8A8, but some versions ship with a definition of
> >   * PIXEL_FORMAT_BGRA32 which doesn't actually build. Try really, really,  
> 
> The above works for me on Debian stretch and Fedora 25.

It worked for me too, on net-misc/freerdp-2.0.0_pre20160722, so pushed:
   605ac8e..cb3f1b0  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170127/a42d4c66/attachment-0001.sig>


More information about the wayland-devel mailing list