svn commit: r467810 - head/graphics/pcl-pointclouds
Jan Beich
jbeich at FreeBSD.org
Fri Apr 20 02:31:22 UTC 2018
Author: jbeich
Date: Fri Apr 20 02:31:21 2018
New Revision: 467810
URL: https://svnweb.freebsd.org/changeset/ports/467810
Log:
graphics/pcl-pointclouds: unbreak with boost 1.67
In file included from /wrkdirs/usr/ports/graphics/pcl-pointclouds/work/pcl-pcl-1.8.1/outofcore/tools/outofcore_process.cpp:53:
In file included from /wrkdirs/usr/ports/graphics/pcl-pointclouds/work/pcl-pcl-1.8.1/outofcore/include/pcl/outofcore/outofcore_impl.h:50:
/wrkdirs/usr/ports/graphics/pcl-pointclouds/work/pcl-pcl-1.8.1/outofcore/include/pcl/outofcore/impl/octree_disk_container.hpp:77:74: error: no matching constructor for initialization of 'boost::uuids::random_generator' (aka 'boost::uuids::random_generator_pure')
boost::uuids::random_generator OutofcoreOctreeDiskContainer<PointT>::uuid_gen_ (&rand_gen_);
^ ~~~~~~~~~~
/usr/local/include/boost/uuid/random_generator.hpp:149:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'boost::mt19937 *' (aka 'mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615U, 11, 4294967295U, 7, 2636928640U, 15, 4022730752U, 18, 1812433253> *') to 'const boost::uuids::random_generator_pure' for 1st argument
class random_generator_pure
^
/usr/local/include/boost/uuid/random_generator.hpp:149:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
PR: 227427
Reported by: antoine (via exp-run)
Obtained from: Homebrew
Modified:
head/graphics/pcl-pointclouds/Makefile (contents, props changed)
Modified: head/graphics/pcl-pointclouds/Makefile
==============================================================================
--- head/graphics/pcl-pointclouds/Makefile Fri Apr 20 01:54:02 2018 (r467809)
+++ head/graphics/pcl-pointclouds/Makefile Fri Apr 20 02:31:21 2018 (r467810)
@@ -13,8 +13,6 @@ COMMENT= Point Cloud Library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BROKEN= https://github.com/PointCloudLibrary/pcl/issues/2284
-
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libflann_cpp.so:math/flann \
@@ -29,6 +27,9 @@ GH_ACCOUNT= PointCloudLibrary
USE_GL= gl glu
USE_XORG= x11 xext xt ice sm
USE_LDCONFIG= yes
+
+# https://github.com/PointCloudLibrary/pcl/issues/2284
+CXXFLAGS+= -DBOOST_UUID_RANDOM_GENERATOR_COMPAT
PLIST_SUB= SHL3=${DISTVERSION} SHL2=${DISTVERSION:R}
More information about the svn-ports-all
mailing list