From 106471f0e51aaf216c304a586d7bd97f1195fed8 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 28 Apr 2018 08:34:31 +0200 Subject: [PATCH] godot: fix builderror due to wrong use of CXXFLAGS --- srcpkgs/godot/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/godot/template b/srcpkgs/godot/template index 437f6712341..8d0c32bc093 100644 --- a/srcpkgs/godot/template +++ b/srcpkgs/godot/template @@ -25,10 +25,15 @@ CFLAGS+=" -fPIE -fPIC" LDFLAGS+=" -pie" post_extract() { + sed -i -e 's/"-std=c++11"/"-std=c++11"/' modules/etc/SCsub sed -i -e "/openssl_version =/,+4d" platform/x11/detect.py sed -i -e 's/#ifdef CRASH_HANDLER_ENABLED/#if defined(CRASH_HANDLER_ENABLED) \&\& defined(__GLIBC__)/' platform/x11/crash_handler_x11.cpp } +pre_build() { + export CXXFLAGS=" $CXXFLAGS " +} + do_install() { vlicense LICENSE.txt vinstall ${FILESDIR}/godot.desktop 644 /usr/share/applications/