mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 14:43:04 +08:00
[shogun] Fix build error (#13425)
This commit is contained in:
parent
d923820d7b
commit
1733814ced
@ -1,6 +1,6 @@
|
||||
Source: shogun
|
||||
Version: 6.1.4
|
||||
Port-Version: 2
|
||||
Port-Version: 3
|
||||
Build-Depends: bzip2, eigen3, liblzma, libxml2, openblas, nlopt, rxcpp, snappy, zlib, protobuf, curl, lzo, dirent
|
||||
Homepage: https://github.com/shogun-toolbox/shogun
|
||||
Description: Unified and efficient Machine Learning
|
12
ports/shogun/fix-ASSERT-not-found.patch
Normal file
12
ports/shogun/fix-ASSERT-not-found.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/shogun/base/Parallel.cpp b/src/shogun/base/Parallel.cpp
|
||||
index 78ba319..53ac6c0 100644
|
||||
--- a/src/shogun/base/Parallel.cpp
|
||||
+++ b/src/shogun/base/Parallel.cpp
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <shogun/lib/RefCount.h>
|
||||
#include <shogun/lib/config.h>
|
||||
#include <shogun/lib/memory.h>
|
||||
+#include <shogun/io/SGIO.h>
|
||||
|
||||
#ifdef HAVE_CXX11
|
||||
#include <thread>
|
@ -10,6 +10,7 @@ vcpkg_from_github(
|
||||
cmake.patch
|
||||
cmake-config.in.patch
|
||||
fix-dirent.patch
|
||||
fix-ASSERT-not-found.patch
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
Loading…
Reference in New Issue
Block a user