diff --git a/srcpkgs/cura-engine/template b/srcpkgs/cura-engine/template index d02686c3723..389ec4f0228 100644 --- a/srcpkgs/cura-engine/template +++ b/srcpkgs/cura-engine/template @@ -14,7 +14,13 @@ license="AGPL-3" homepage="https://github.com/Ultimaker/CuraEngine" distfiles="https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz" checksum=a8e9b99b42844dce1516c21e4d46bc40e17afbb3abec9ef92f3bb352d3cb12fb -broken=https://build.voidlinux.eu/builders/x86_64_builder/builds/5686/steps/shell_3/logs/stdio + +CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 -D_GLIBCXX_USE_C99_STDLIB=1" + +pre_configure() { + # Can't link against libstdc++.a because of R_X86_64_32 relocations + sed -i CMakeLists.txt -e"s; -static-libstdc++;;" +} post_install() { vlicense LICENSE