summaryrefslogtreecommitdiffstats
path: root/recipes-support/opencv/opencv
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-01-12 11:19:33 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2023-01-12 11:34:01 -0700
commit3362cb2a0f753c9ba5284a69620628947c8c7daf (patch)
tree9a1c5c33c9f56d1f4402cb8d2214c01bae5b7dd3 /recipes-support/opencv/opencv
parente3611512ff8c28b1418d032a03184a198e8e886e (diff)
downloadmeta-freescale-3362cb2a0f753c9ba5284a69620628947c8c7daf.tar.gz
opencv: Update copied recipe to latest
Also fix the variable ordering for the SRC_URI overrides. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-support/opencv/opencv')
-rw-r--r--recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch b/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch
new file mode 100644
index 00000000..59da6ab3
--- /dev/null
+++ b/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch
@@ -0,0 +1,26 @@
1From d6bdd0a91eb0ed57688c0af5ba5088cf0afdc0a0 Mon Sep 17 00:00:00 2001
2From: Jochen Sprickerhof <jspricke@debian.org>
3Date: Mon, 8 Aug 2022 21:10:13 +0200
4Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT
5
6Upstream-Status: Backport [https://github.com/opencv/opencv/pull/22357]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 modules/videoio/src/ffmpeg_codecs.hpp | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/modules/videoio/src/ffmpeg_codecs.hpp b/modules/videoio/src/ffmpeg_codecs.hpp
13index 61788e0345..faad2596ed 100644
14--- a/modules/videoio/src/ffmpeg_codecs.hpp
15+++ b/modules/videoio/src/ffmpeg_codecs.hpp
16@@ -60,6 +60,7 @@ extern "C" {
17 #include <errno.h>
18 #endif
19
20+#include <libavcodec/version.h>
21 #include <libavformat/avformat.h>
22
23 #ifdef __cplusplus
24--
252.38.1
26