From 54626e4c9b165b6b48b2d8e15f0e197a9f59d657 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 17 Jun 2020 21:53:02 +0200 Subject: [PATCH] flacon: unbreak build on platfoms without 64-bit atomics --- srcpkgs/flacon/template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srcpkgs/flacon/template b/srcpkgs/flacon/template index ff6e878328e..2d109aa738f 100644 --- a/srcpkgs/flacon/template +++ b/srcpkgs/flacon/template @@ -14,6 +14,14 @@ changelog="https://flacon.github.io/changelog/" distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz" checksum=3c073ad29cc91601b9ecd66058b644ed2b1c12f3c0a96cbaa9e0167baf7acf75 +post_extract() { + # no support for 64-bit atomics on these platforms in qt + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + vsed -i 's/QAtomicInteger/QAtomicInteger/' \ + converter/splitter.cpp + fi +} + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" fi