openlierox: unbreak

This commit is contained in:
Jürgen Buchmüller 2017-02-23 00:00:45 +01:00
parent 84860264bc
commit 4e8b74b022
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ CXXFLAGS+=" -DBOOST_SIGNALS_NO_DEPRECATION_WARNING"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/lua5.1"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libxml2"
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/1014/steps/shell_3/logs/stdio"
pre_configure() {
# Rename C++11 reserved word static_assert
find src include -type f -exec sed -i "{}" -e "s;static_assert;olx_&;g" \;
# For newer boost link to boost_signals and boost_system libs
sed -i CMakeOlxCommon.cmake \
-e '/SET(LIBS ${LIBS} boost_signals/s;-mt; boost_system;'