From f54a6d273e04f1739950c86dfcb026d746454f6a Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Thu, 22 Apr 2021 12:38:44 +0200 Subject: [PATCH] Ports/scummvm: Build with C++11 support This unbreaks the ScummVM port build. Some `[[noreturn]]` keywords were added to `` recently and this required an additional flag to the ScummVM configure script to fix. Also removed the now unnecessary `export LIBS`. --- Ports/scummvm/package.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Ports/scummvm/package.sh b/Ports/scummvm/package.sh index 2465c23552..2d82e7f23a 100755 --- a/Ports/scummvm/package.sh +++ b/Ports/scummvm/package.sh @@ -5,11 +5,10 @@ version="2.2.0" files="https://downloads.scummvm.org/frs/scummvm/${version}/scummvm-${version}.tar.gz scummvm-${version}.tar.gz f48f07347e5ab0b3094a868367c0e1f2" auth_type=md5 depends="SDL2" - -configure() { - export LIBS="-lgui -lgfx -lcore" - run ./configure \ - --host="${SERENITY_ARCH}-pc-serenity" \ - --opengl-mode=none \ - --with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr/local" -} +configopts=" + --enable-c++11 + --enable-release-mode + --enable-optimizations + --opengl-mode=none + --with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr/local +"