Skip to content

Commit

Permalink
[opencv2] fix missing include (#33570)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Sep 6, 2023
1 parent 7692510 commit 8bc6d22
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ports/opencv2/0020-missing-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/modules/ts/src/gpu_test.cpp b/modules/ts/src/gpu_test.cpp
index 21d9ad9..a626b0b 100644
--- a/modules/ts/src/gpu_test.cpp
+++ b/modules/ts/src/gpu_test.cpp
@@ -42,6 +42,7 @@

#include "opencv2/ts/gpu_test.hpp"
#include <stdexcept>
+#include <functional>

using namespace cv;
using namespace cv::gpu;
1 change: 1 addition & 0 deletions ports/opencv2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ vcpkg_from_github(
0006-fix-jasper.patch
0007-fix-config.patch
0019-fix-openexr.patch
0020-missing-include.patch
)
# Disallow accidental build of vendored copies
file(REMOVE_RECURSE "${SOURCE_PATH}/3rdparty/openexr")
Expand Down
2 changes: 1 addition & 1 deletion ports/opencv2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "opencv2",
"version": "2.4.13.7",
"port-version": 18,
"port-version": 19,
"description": "Open Source Computer Vision Library",
"homepage": "https://github.com/opencv/opencv",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6018,7 +6018,7 @@
},
"opencv2": {
"baseline": "2.4.13.7",
"port-version": 18
"port-version": 19
},
"opencv3": {
"baseline": "3.4.18",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opencv2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7a4e55d470b2cff8fddb4f6f44ab15b4b5c0f603",
"version": "2.4.13.7",
"port-version": 19
},
{
"git-tree": "246c2e39fa6e117cbea4548446b7f66909de3329",
"version": "2.4.13.7",
Expand Down

0 comments on commit 8bc6d22

Please sign in to comment.