libserial: add patch to fix build failure on sparc/sparc64
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 18 Nov 2015 20:40:38 +0000 (21:40 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Nov 2015 12:19:43 +0000 (13:19 +0100)
commit5972ea48c3515dd0ca28f5df101d71a2672256f6
treee828096b659f821d73b0de7eaf069a04fc38caae
parentaadf19c9c3aa6e92c6727650989981fbc0757f0d
libserial: add patch to fix build failure on sparc/sparc64

Like c-periphery and lua-periphery, libserial fails to build because
it tries to use some baud rate definitions that are not available on
sparc and sparc64 (the highest baud rates).

This commit fixes that by introducing a patch to libserial to make the
use of these high baud rates conditional on their availability.

Fixes:

  http://autobuild.buildroot.org/results/f9b/f9bbb8a6636cd3e3203b059f627aac7b1d511eb2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libserial/0002-Don-t-use-high-baudrates-when-not-available.patch [new file with mode: 0644]