From 52c9b8d6409787960c3c44103a33430ce81c54e8 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 2 Jan 2020 00:03:44 +0100 Subject: [PATCH] waifu2x-converter-cpp: silly workaround for vector conflict on ppc --- srcpkgs/waifu2x-converter-cpp/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/waifu2x-converter-cpp/template b/srcpkgs/waifu2x-converter-cpp/template index 57efe889ee3..70d4a134836 100644 --- a/srcpkgs/waifu2x-converter-cpp/template +++ b/srcpkgs/waifu2x-converter-cpp/template @@ -13,6 +13,11 @@ homepage="https://github.com/DeadSix27/waifu2x-converter-cpp" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=e10bd5c64015553d1340988cf886aa51ed3cf4108f1a3ba864b3ea818426de7d +# silly workaround to prevent vector/bool/etc from being defined +case "$XBPS_TARGET_MACHINE" in + ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";; +esac + pre_configure() { # conv is a generator built with add_executable # build it before so it is built with the correct