meson.build: downgrade Boost 1.67 error to warning

Some Boost 1.67 packages apparently have a workaround for the bug, so
let them build MPD.
This commit is contained in:
Max Kellermann 2018-11-04 12:45:22 +01:00
parent 10ec478a9c
commit 08e41e60e5
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@ -9,7 +9,7 @@ ver 0.21.1 (not yet released)
* fix build failure on Linux-PowerPC * fix build failure on Linux-PowerPC
* fix build failure on FreeBSD * fix build failure on FreeBSD
* eliminate DLL dependencies on Windows * eliminate DLL dependencies on Windows
* refuse to build with buggy Boost version 1.67 * add warning about buggy Boost version 1.67
* require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build
ver 0.21 (2018/10/31) ver 0.21 (2018/10/31)

View File

@ -175,7 +175,7 @@ boost_dep = dependency('boost', version: '>= 1.58')
if boost_dep.version() == '1.67' if boost_dep.version() == '1.67'
# https://github.com/MusicPlayerDaemon/MPD/pull/384 # https://github.com/MusicPlayerDaemon/MPD/pull/384
# https://github.com/boostorg/lockfree/commit/12726cda009a855073b9bedbdce57b6ce7763da2 # https://github.com/boostorg/lockfree/commit/12726cda009a855073b9bedbdce57b6ce7763da2
error('Your Boost version 1.67 is known to be buggy, and the MPD build will fail. Please upgrade to Boost 1.68 or later.') warning('Your Boost version 1.67 is known to be buggy, and the MPD build will fail. Please upgrade to Boost 1.68 or later.')
endif endif
sources = [ sources = [