diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-01-30 23:26:20 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-01-31 23:37:27 +0100 |
commit | 326228b80fca35e8ca07196692ed753fff69eb18 (patch) | |
tree | 377b52fff95fc1ff2b0957a18ca5953fa7c7d0d4 /package/kodi/0003-ALSA-fix-device-change-event-support.patch | |
parent | 62e4e13e185cbc6e7a7542a2b911e7befb7f6946 (diff) | |
download | buildroot-326228b80fca35e8ca07196692ed753fff69eb18.tar.gz buildroot-326228b80fca35e8ca07196692ed753fff69eb18.zip |
log4cxx: fix build issue with gcc6+ on architectures with signed char
Fixes:
http://autobuild.buildroot.net/results/029/02946a75f478b1304896e7a0794bb6aa527e45c0/
http://autobuild.buildroot.net/results/14b/14b9cab834540a01c9c838ea579dc73e383f754a/
http://autobuild.buildroot.net/results/de8/de8f2b132084a10fbe8efb38c7b31adca4562852/
The source code contains a number of character constants > 127, which causes
build errors with gcc6+ on architectures where char is signed:
locationinfo.cpp:163:21: error: narrowing conversion of '237' from 'int' to 'char' inside { } [-Wnarrowing]
Fix it by adding an upstream patch adding explicit static_cast around these.
Also add a local patch to fix the test suite as this is not fixed upstream.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/kodi/0003-ALSA-fix-device-change-event-support.patch')
0 files changed, 0 insertions, 0 deletions