From 4e8b74b022890f3550ae90ae23f41dc801ad36ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 23 Feb 2017 00:00:45 +0100 Subject: [PATCH] openlierox: unbreak --- srcpkgs/openlierox/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;'