waifu2x-converter-cpp: fix build
This commit is contained in:
parent
588dc8cc95
commit
2777b7fae6
2 changed files with 8 additions and 0 deletions
7
srcpkgs/waifu2x-converter-cpp/patches/fix-cstdio.patch
Normal file
7
srcpkgs/waifu2x-converter-cpp/patches/fix-cstdio.patch
Normal 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"
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue