diff --git a/srcpkgs/openlierox/template b/srcpkgs/openlierox/template index ccb264e6e6c..6288f27e267 100644 --- a/srcpkgs/openlierox/template +++ b/srcpkgs/openlierox/template @@ -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;'