Index: head/graphics/frei0r/Makefile =================================================================== --- head/graphics/frei0r/Makefile (revision 459231) +++ head/graphics/frei0r/Makefile (revision 459232) @@ -1,67 +1,68 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= frei0r PORTVERSION= 1.5.0 DISTVERSIONPREFIX= plugins- CATEGORIES= graphics MASTER_SITES?= https://files.dyne.org/frei0r/releases/ MAINTAINER= jhale@FreeBSD.org COMMENT?= Minimalistic plugin API for video effects .if !defined(BUILDING_FREI0R_METAPORT) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake:outsource pkgconfig .if defined(BUILDING_FREI0R_OPENCV) && defined(BUILDING_FREI0R_GAVL) IGNORE= cannot build OpenCV and gavl plugins simultaneously .endif .if defined(BUILDING_FREI0R_OPENCV) || defined(BUILDING_FREI0R_GAVL) -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-frei0r-plugins +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-frei0r-plugins \ + ${PATCHDIR}/extra-patch-src_filter_facedetect_CMakeLists.txt USES+= localbase .endif .if defined(BUILDING_FREI0R_OPENCV) -PORTREVISION= 2 +PORTREVISION= 3 COMMENT= Frei0r OpenCV plugins PKGNAMESUFFIX= -plugins-opencv LIB_DEPENDS+= libopencv_legacy.so:graphics/opencv FREI0R_PLUGINS= facebl0r facedetect CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=OFF \ -DWITHOUT_GAVL:BOOL=ON .elif defined(BUILDING_FREI0R_GAVL) PORTREVISION= 0 COMMENT= Frei0r gavl plugins PKGNAMESUFFIX= -plugins-gavl LIB_DEPENDS+= libgavl.so:multimedia/gavl FREI0R_PLUGINS= rgbparade scale0tilt vectorscope CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=ON \ -DWITHOUT_GAVL:BOOL=OFF .else EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt USE_GNOME= cairo CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=ON \ -DWITHOUT_GAVL:BOOL=ON .endif # !defined(BUILDING_FREI0R_OPENCV) && !defined(BUILDING_FREI0R_GAVL) .if defined(FREI0R_PLUGINS) PLIST= ${WRKSRC}/PLIST . for FILE in ${FREI0R_PLUGINS} PLIST_FILES+= lib/frei0r-1/${FILE}.so . endfor .endif .include .endif # !defined(BUILDING_FREI0R_METAPORT) Index: head/graphics/frei0r/files/extra-patch-src_filter_facedetect_CMakeLists.txt =================================================================== --- head/graphics/frei0r/files/extra-patch-src_filter_facedetect_CMakeLists.txt (nonexistent) +++ head/graphics/frei0r/files/extra-patch-src_filter_facedetect_CMakeLists.txt (revision 459232) @@ -0,0 +1,15 @@ +The facedetect plugin cannot be built with C++11: + +frei0r-plugins-1.5.0/src/filter/facedetect/facedetect.cpp:271:15: + error: non-constant-expression cannot be narrowed from type 'int' + to 'double' in initializer list [-Wc++11-narrowing] + +--- src/filter/facedetect/CMakeLists.txt.orig 2018-01-17 09:42:26 UTC ++++ src/filter/facedetect/CMakeLists.txt +@@ -11,5 +11,6 @@ LINK_LIBRARIES(${OpenCV_LIBS} ${OpenCV_LIBRARIES}) + + add_library (${TARGET} MODULE ${SOURCES}) + set_target_properties (${TARGET} PROPERTIES PREFIX "") ++set_property(TARGET facedetect PROPERTY CXX_STANDARD 98) + + install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) Property changes on: head/graphics/frei0r/files/extra-patch-src_filter_facedetect_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property