commit:     57e183e7915fe6ee5cefb822b6daf06baf5dc790
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 14:41:45 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 14:54:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e183e7

media-libs/opencv: fix protobuf dnn module bug #631418

Suggested-by: Hanno Meyer-Thurow (geki) <h.mth <AT> web.de>
Suggested-by: Dennis Schridde <devurandom <AT> gmx.net>
Suggested-by: Magnus Kessler <Magnus.Kessler <AT> gmx.net>
Suggested-by: zappel <AT> simple-co.de
Closes: https://bugs.gentoo.org/631418

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../opencv/{opencv-3.3.0-r1.ebuild => opencv-3.3.0-r2.ebuild}       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media-libs/opencv/opencv-3.3.0-r1.ebuild 
b/media-libs/opencv/opencv-3.3.0-r2.ebuild
similarity index 97%
rename from media-libs/opencv/opencv-3.3.0-r1.ebuild
rename to media-libs/opencv/opencv-3.3.0-r2.ebuild
index eaa25d8ec26..a6a2298e02c 100644
--- a/media-libs/opencv/opencv-3.3.0-r1.ebuild
+++ b/media-libs/opencv/opencv-3.3.0-r2.ebuild
@@ -41,6 +41,7 @@ REQUIRED_USE="
 
 RDEPEND="
        app-arch/bzip2[${MULTILIB_USEDEP}]
+       dev-libs/protobuf:=[${MULTILIB_USEDEP}]
        sys-libs/zlib[${MULTILIB_USEDEP}]
        cuda? ( dev-util/nvidia-cuda-toolkit:0= )
        contrib_hdf? ( sci-libs/hdf5 )
@@ -277,6 +278,11 @@ multilib_src_configure() {
        # ===================================================
                -DBUILD_PACKAGE=OFF
        # ===================================================
+       # Not building protobuf but update files bug #631418
+       # ===================================================
+               -DBUILD_PROTOBUF=OFF
+               -DPROTOBUF_UPDATE_FILES=ON
+       # ===================================================
        # things we want to be hard enabled not worth useflag
        # ===================================================
                -DCMAKE_SKIP_RPATH=ON

Reply via email to