package/freerdp: fix missing define
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 4 Oct 2015 10:22:35 +0000 (11:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Oct 2015 12:01:23 +0000 (14:01 +0200)
commit78cd32631e959e04b1a2f18be7b0757e21482438
treee0390c25092e1b49e6aa7f3be8f28fcfa35ae34a
parent8f59da855207b5e271f826f37e246b6e27b8c9d0
package/freerdp: fix missing define

FreeRDP uses CMSPAR, which is defined by glibc in bits/termios.h .

glibc has two flavours of bits/termios.h: a genmeric one and an
architecture-specific one. When installing, glibc will install the
architecture-specific file if it exists, otherwise it installs the
generic file. Only Alpha, MIPS, PPC and Sparc have their own
bits/termios.h.

The generic bits/termios.h, as well as the Alpha, PPC and Sparc flavours
do define CMSPAR. However, the MIPS flavour does not define it.

We add a patch to FreeRDP that defines CMSPAR to the value from the
generic value, which is also the value known to the Linux kernel for
MIPS.

Fixes:
    http://autobuild.buildroot.org/results/0b4/0b4793f0bf9f4c57933897f3480054a4e06528ad/
    http://autobuild.buildroot.org/results/7a2/7a2284d0a2987158fa2e78f789b07c8c6fcdb974/
    http://autobuild.buildroot.org/results/387/3874088c3ccd4bbf76ea0c911ca1ef64c7dc9d1c/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/freerdp/0003-add-missing-define.patch [new file with mode: 0644]