waifu2x-converter-cpp: fix build

This commit is contained in:
Jürgen Buchmüller 2020-08-23 21:45:53 +02:00
parent 588dc8cc95
commit 2777b7fae6
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,7 @@
--- src/threadPool.cpp 2019-03-25 11:44:59.000000000 +0100
+++ src/threadPool.cpp 2020-08-23 21:43:43.087489818 +0200
@@ -1,3 +1,4 @@
+#include <cstdio>
#include <thread>
#include <atomic>
#include "threadPool.hpp"

View file

@ -17,6 +17,7 @@ checksum=e10bd5c64015553d1340988cf886aa51ed3cf4108f1a3ba864b3ea818426de7d
case "$XBPS_TARGET_MACHINE" in
ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";;
esac
CXXFLAGS+=" -DCL_TARGET_OPENCL_VERSION=220"
pre_configure() {
# conv is a generator built with add_executable