diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-10-01 21:26:56 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-10-01 21:26:56 +0800 |
commit | 5154c0e13334474a7864214b6b495bf4ed183735 (patch) | |
tree | 4112e33905077670d8f8c96359f7a1670027d7bb /graphics | |
parent | 1b354e0c59f240f792786b9047cc43cccde563ac (diff) | |
download | freebsd-ports-gnome-5154c0e13334474a7864214b6b495bf4ed183735.tar.gz freebsd-ports-gnome-5154c0e13334474a7864214b6b495bf4ed183735.tar.zst freebsd-ports-gnome-5154c0e13334474a7864214b6b495bf4ed183735.zip |
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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencv/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 5377dbec2c1d..c2f45aba6be2 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -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} |