Index: head/multimedia/webcamoid/Makefile =================================================================== --- head/multimedia/webcamoid/Makefile (revision 456688) +++ head/multimedia/webcamoid/Makefile (revision 456689) @@ -1,30 +1,37 @@ # $FreeBSD$ PORTNAME= webcamoid DISTVERSION= 8.1.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Full featured webcam suite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavcodec.so:multimedia/ffmpeg \ libjack.so:audio/jack \ libpulse.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l USES= pkgconfig qmake USE_GITHUB= yes USE_GNOME= glib20 USE_GSTREAMER1= yes USE_GL= gl USE_QT5= concurrent core gui multimedia network opengl qml quick svg widgets buildtools_build MAKE_ENV= NOOSS=1 # NOOSS is because the OSS module attempts to use kevent on OSS devices, which is broken in the base QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \ MANDIR=${PREFIX}/man + +# Workaround for the crash when built with clang that the upstream author says is a bug in clang +USE_GCC= 6.0+ + +# Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected +BINARY_ALIAS= g++=${CXX} .include Index: head/multimedia/webcamoid/files/patch-libAvKys_Plugins_MultiSrc_src_multisrcelement.cpp =================================================================== --- head/multimedia/webcamoid/files/patch-libAvKys_Plugins_MultiSrc_src_multisrcelement.cpp (revision 456688) +++ head/multimedia/webcamoid/files/patch-libAvKys_Plugins_MultiSrc_src_multisrcelement.cpp (nonexistent) @@ -1,21 +0,0 @@ ---- libAvKys/Plugins/MultiSrc/src/multisrcelement.cpp.orig 2017-10-09 06:45:30 UTC -+++ libAvKys/Plugins/MultiSrc/src/multisrcelement.cpp -@@ -201,9 +201,15 @@ void MultiSrcElement::codecLibUpdated(co - auto state = this->state(); - this->setState(AkElement::ElementStateNull); - -- auto media = this->m_mediaSource->media(); -- auto loop = this->m_mediaSource->loop(); -- auto showLog = this->m_mediaSource->showLog(); -+ // crashes with these lines: https://github.com/webcamoid/webcamoid/issues/100 -+ // auto media = this->m_mediaSource->media(); -+ // auto loop = this->m_mediaSource->loop(); -+ // auto showLog = this->m_mediaSource->showLog(); -+ -+ // workaround for the crash -+ QString media; -+ bool loop = true; -+ bool showLog = true; - - this->m_mutexLib.lock(); - Property changes on: head/multimedia/webcamoid/files/patch-libAvKys_Plugins_MultiSrc_src_multisrcelement.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property