Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 22:24:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456689 - in head/multimedia/webcamoid: . files
Message-ID:  <201712182224.vBIMODW8041651@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Dec 18 22:24:12 2017
New Revision: 456689
URL: https://svnweb.freebsd.org/changeset/ports/456689

Log:
  multimedia/webcamoid: Unbreaking clang-built app with USE_GCC=6.0+
  
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13512

Deleted:
  head/multimedia/webcamoid/files/patch-libAvKys_Plugins_MultiSrc_src_multisrcelement.cpp
Modified:
  head/multimedia/webcamoid/Makefile

Modified: head/multimedia/webcamoid/Makefile
==============================================================================
--- head/multimedia/webcamoid/Makefile	Mon Dec 18 22:22:30 2017	(r456688)
+++ head/multimedia/webcamoid/Makefile	Mon Dec 18 22:24:12 2017	(r456689)
@@ -2,6 +2,7 @@
 
 PORTNAME=	webcamoid
 DISTVERSION=	8.1.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -26,5 +27,11 @@ USE_QT5=	concurrent core gui multimedia network opengl
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712182224.vBIMODW8041651>