Date: Sat, 1 Oct 2016 13:26:56 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423063 - head/graphics/opencv Message-ID: <201610011326.u91DQuQD012216@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Oct 1 13:26:56 2016 New Revision: 423063 URL: https://svnweb.freebsd.org/changeset/ports/423063 Log: graphics/opencv: unbreak build on 9.x after r421231 In file included from /usr/local/include/eigen3/unsupported/Eigen/MatrixFunctions:58, from modules/contrib/src/rgbdodometry.cpp:65: /usr/local/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h: In member function 'void Eigen::MatrixExponential<MatrixType>::computeUV(float)': /usr/local/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h:296: error: call of overloaded 'pow(int, int&)' is ambiguous /usr/include/math.h:210: note: candidates are: double pow(double, double) /usr/include/c++/4.2/cmath:357: note: float std::pow(float, float) /usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int) Reported by: pkg-fallout Modified: head/graphics/opencv/Makefile (contents, props changed) Modified: head/graphics/opencv/Makefile ============================================================================== --- head/graphics/opencv/Makefile Sat Oct 1 13:26:39 2016 (r423062) +++ head/graphics/opencv/Makefile Sat Oct 1 13:26:56 2016 (r423063) @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= Itseez -USES= cmake pkgconfig +USES= cmake compiler:c++11-lib pkgconfig USE_LDCONFIG= yes WANT_GSTREAMER= yes @@ -28,6 +28,7 @@ PLIST_SUB+= VERSION=${DISTVERSION} CMAKE_ARGS+= -DWITH_CUDA:BOOL=Off \ -DWITH_PVAPI:BOOL=Off \ -DWITH_UNICAP:BOOL=Off \ + -DENABLE_PRECOMPILED_HEADERS:BOOL=Off \ -DBUILD_TESTS:BOOL=Off \ -DBUILD_DOCS:BOOL=Off \ -DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_CMD}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610011326.u91DQuQD012216>