Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencv/files/
Date: Mon, 05 Feb 2018 17:50:23
Message-Id: 1517852987.40e8ca0d2be44a4aaa1947e945c38630f7cc9119.amynka@gentoo
1 commit: 40e8ca0d2be44a4aaa1947e945c38630f7cc9119
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 5 17:44:07 2018 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 5 17:49:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e8ca0d
7
8 media-libs/opencv: add missing patch
9
10 Closes: https://bugs.gentoo.org/646582
11 Package-Manager: Portage-2.3.13, Repoman-2.3.3
12
13 ...opencv-3.3.0-remove-tiny-dnn-autodownload.patch | 27 ++++++++++++++++++++++
14 1 file changed, 27 insertions(+)
15
16 diff --git a/media-libs/opencv/files/opencv-3.3.0-remove-tiny-dnn-autodownload.patch b/media-libs/opencv/files/opencv-3.3.0-remove-tiny-dnn-autodownload.patch
17 new file mode 100644
18 index 00000000000..6929a4c2ce4
19 --- /dev/null
20 +++ b/media-libs/opencv/files/opencv-3.3.0-remove-tiny-dnn-autodownload.patch
21 @@ -0,0 +1,27 @@
22 +diff -purN a/modules/dnn_modern/CMakeLists.txt b/modules/dnn_modern/CMakeLists.txt
23 +--- a/modules/dnn_modern/CMakeLists.txt 2017-07-31 15:58:38.000000000 +0100
24 ++++ b/modules/dnn_modern/CMakeLists.txt 2018-01-15 17:15:15.202454388 +0000
25 +@@ -15,23 +15,6 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CU
26 + # MODULE REQUIREMENTS
27 + # ----------------------------------------------------------------------------
28 +
29 +-set(TINY_DNN_CPP_PATH "${OpenCV_BINARY_DIR}/3rdparty/tinydnn")
30 +-set(TINY_DNN_CPP_ROOT "${TINY_DNN_CPP_PATH}/tiny-dnn-1.0.0a3")
31 +-ocv_download(FILENAME "v1.0.0a3.tar.gz"
32 +- HASH "adb1c512e09ca2c7a6faef36f9c53e59"
33 +- URL
34 +- "${OPENCV_TINY_DNN_URL}"
35 +- "$ENV{OPENCV_TINY_DNN_URL}"
36 +- "https://github.com/tiny-dnn/tiny-dnn/archive/"
37 +- DESTINATION_DIR "${TINY_DNN_CPP_PATH}"
38 +- STATUS TINY_DNN_DOWNLOAD_SUCCESS
39 +- ID "tiny-dnn"
40 +- UNPACK RELATIVE_URL)
41 +-
42 +-if(NOT TINY_DNN_DOWNLOAD_SUCCESS)
43 +- message(STATUS "Failed to download tiny-dnn sources")
44 +-endif()
45 +-
46 + find_package(TinyDNN QUIET)
47 +
48 + include(CheckCXXCompilerFlag)