From 7fabe953b5b8af6e94204bdd390d526648c222b7 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 11 Jan 2020 22:25:44 +0100 Subject: [PATCH] wf-recorder: fix build on ppc* --- srcpkgs/wf-recorder/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/wf-recorder/template b/srcpkgs/wf-recorder/template index 6bb545c86b1..31889991390 100644 --- a/srcpkgs/wf-recorder/template +++ b/srcpkgs/wf-recorder/template @@ -13,6 +13,11 @@ homepage="https://github.com/ammen99/wf-recorder" distfiles="https://github.com/ammen99/${pkgname}/archive/v${version}.tar.gz" checksum=e35eef43920fc0492cd4702653b613b5ab1caaf070b5f0542db2f5c4d7a90deb +# silly workaround to prevent vector/bool/etc from being defined +case "$XBPS_TARGET_MACHINE" in + ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";; +esac + post_install() { vlicense LICENSE }