Skip to content
  • Daniel Stone's avatar
    compositor-rdp: Fix build with freerdp2, take 2 · cb3f1b01
    Daniel Stone authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    Hi Pekka,
    
    On 23 January 2017 at 14:15, Pekka Paalanen <ppaalanen@gmail.com> wrote:
    > On Fri, 20 Jan 2017 11:31:08 +0100
    > Emilio Pozuelo Monfort <pochu@debian.org> wrote:
    >> This version works for me...
    >
    > Hi guys,
    >
    > I found another guest to the party. Using net-misc/freerdp-2.0.0_pre20160722
    > Weston master fails to build with:
    >
    >
    > In file included from /usr/include/freerdp2/freerdp/codecs.h:25:0,
    >                  from /usr/include/freerdp2/freerdp/freerdp.h:46,
    >                  from /home/pq/git/weston/libweston/compositor-rdp.c:69:
    > /home/pq/git/weston/libweston/compositor-rdp.c: In function ‘rdp_peer_context_new’:
    > /usr/include/freerdp2/freerdp/codec/color.h:85:72: error: ‘FREERDP_PIXEL_FORMAT_TYPE_BGRA’ undeclared (first use in this function)
    > [... snip ...]
    >
    > 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?
    
    Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    cb3f1b01