kumquat-buildroot/package/brltty
Yann E. MORIN 743fd97689 package/brltty: fix cross-compilation
brltty has a very inventive buildsystem, where it internall runs
./configure for the build machine In doing so, it generates a list
of make variables to define what the build machine supports, like
it does for the target.

However, the build variables are generated with a convoluted sed
script that scans the target list, and appends _FOR_BUILD to each
target variables. Then, both lists are included from the Makefile,
on the assumption that the build variables will not clash with the
target variables.

Where it gets interesting, is that that sed script considers the
variables names to match '[A-Za-z][A-Za-z0-9_]*'

And there we see why ATSPI2_PACKAGE does not match: it contains a
digit.

So, some build variables will inevitably override target ones.

Fix that by simply expanding the matching regexp to allow digits
in variable names.

Fixes:
    http://autobuild.buildroot.org/results/a37/a37782b3cfc1a96cc129db8fade20a36a7b2d470/
    http://autobuild.buildroot.org/results/97e/97edc6a47d2140968e84b409cdc960604e5896f2/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Mario Lang <mlang@blind.guru>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8909897ab3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-08-26 23:23:07 +02:00
..
0001-Prevent-scancodes-from-generating-spurious-log-messa.patch package/brltty: avoid spurious log messages while decoding scancodes 2017-12-29 21:36:16 +01:00
0002-Check-for-ioperm-to-make-sure-the-platform-supports-.patch package/brltty: explicitly check if ioperm is available 2017-12-29 21:48:24 +01:00
0003-Remove-MKOBJ-in-favour-of-MKMOD.patch package/brltty: use gcc instead of ld to link shared objects 2017-12-30 18:09:40 +01:00
0004-buildsys-fix-cross-compilation.patch package/brltty: fix cross-compilation 2018-08-26 23:23:07 +02:00
brltty.hash
brltty.mk package/brltty: add missing dependency on host-pkgconf 2017-12-30 13:22:15 +01:00
brltty.service
Config.in package/brltty: depends on BR2_USE_MMU due to calls to fork() 2018-01-01 23:04:14 +01:00
S10brltty