summaryrefslogtreecommitdiff
path: root/media-gfx/waifu2x-ncnn-vulkan/files/waifu2x-ncnn-vulkan-20250504-shared-ncnn.patch
blob: 27287c48ac9d6c3b019d27d282248ae53a2f2d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Build system tries to get ncnn's dependencies and link with them
likely(?) expecting a static ncnn. These checks have caused issues
before [1] and even if that was fixed, there is no reason to do
this and DEPEND for nothing.

Cannot do -DUSE_SYSTEM_NCNN=no given there is another condition
using that that we do need.

[1] https://bugs.gentoo.org/922512
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -53,3 +53,3 @@
 
-if(USE_SYSTEM_NCNN)
+if(0)
     find_package(Threads)