From owner-svn-ports-head@freebsd.org Sun Jan 7 09:27:13 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76C4BE61C41; Sun, 7 Jan 2018 09:27:13 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9DB7E5DB; Sun, 7 Jan 2018 09:27:13 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F9F21F5EA; Sun, 7 Jan 2018 09:27:12 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w079RCae063759; Sun, 7 Jan 2018 09:27:12 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w079RC04063755; Sun, 7 Jan 2018 09:27:12 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201801070927.w079RC04063755@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sun, 7 Jan 2018 09:27:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458309 - in head/multimedia/gstreamer-qt4: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/multimedia/gstreamer-qt4: . files X-SVN-Commit-Revision: 458309 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 09:27:13 -0000 Author: tcberner Date: Sun Jan 7 09:27:11 2018 New Revision: 458309 URL: https://svnweb.freebsd.org/changeset/ports/458309 Log: multimedia/gstreamer-qt4, fix build with clang6 PR: 224945 Added: head/multimedia/gstreamer-qt4/files/ head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_gstqtvideosinkbase.cpp (contents, props changed) head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qtvideosinkdelegate.cpp (contents, props changed) head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qwidgetvideosinkdelegate.cpp (contents, props changed) Modified: head/multimedia/gstreamer-qt4/Makefile Modified: head/multimedia/gstreamer-qt4/Makefile ============================================================================== --- head/multimedia/gstreamer-qt4/Makefile Sun Jan 7 09:18:15 2018 (r458308) +++ head/multimedia/gstreamer-qt4/Makefile Sun Jan 7 09:27:11 2018 (r458309) @@ -3,7 +3,7 @@ PORTNAME= gstreamer PORTVERSION= 0.10.3 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/ PKGNAMESUFFIX= -qt4 Added: head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_gstqtvideosinkbase.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_gstqtvideosinkbase.cpp Sun Jan 7 09:27:11 2018 (r458309) @@ -0,0 +1,15 @@ +invalid suffix on literal; C++11 requires a space between literal and identifier +[-Wreserved-user-defined-literal] + GST_TRACE_OBJECT(sink, "Posting new buffer (%"GST_PTR_FORMAT") for rendering. " + +--- elements/gstqtvideosink/gstqtvideosinkbase.cpp.orig 2018-01-07 08:43:35 UTC ++++ elements/gstqtvideosink/gstqtvideosinkbase.cpp +@@ -217,7 +217,7 @@ GstFlowReturn GstQtVideoSinkBase::show_frame(GstVideoS + { + GstQtVideoSinkBase *sink = GST_QT_VIDEO_SINK_BASE(video_sink); + +- GST_TRACE_OBJECT(sink, "Posting new buffer (%"GST_PTR_FORMAT") for rendering. " ++ GST_TRACE_OBJECT(sink, "Posting new buffer (%" GST_PTR_FORMAT ") for rendering. " + "Format dirty: %d", buffer, (int)sink->formatDirty); + + QCoreApplication::postEvent(sink->delegate, Added: head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qtvideosinkdelegate.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qtvideosinkdelegate.cpp Sun Jan 7 09:27:11 2018 (r458309) @@ -0,0 +1,15 @@ +invalid suffix on literal; C++11 requires a space between literal and identifier +[-Wreserved-user-defined-literal] + GST_TRACE_OBJECT(m_sink, "Received buffer %"GST_PTR_FORMAT, bufEvent->buffer); + +--- elements/gstqtvideosink/qtvideosinkdelegate.cpp.orig 2018-01-07 08:41:02 UTC ++++ elements/gstqtvideosink/qtvideosinkdelegate.cpp +@@ -376,7 +376,7 @@ bool QtVideoSinkDelegate::event(QEvent *event) + BufferEvent *bufEvent = dynamic_cast(event); + Q_ASSERT(bufEvent); + +- GST_TRACE_OBJECT(m_sink, "Received buffer %"GST_PTR_FORMAT, bufEvent->buffer); ++ GST_TRACE_OBJECT(m_sink, "Received buffer %" GST_PTR_FORMAT, bufEvent->buffer); + + if (m_buffer) { + //free the previous buffer Added: head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qwidgetvideosinkdelegate.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/gstreamer-qt4/files/patch-elements_gstqtvideosink_qwidgetvideosinkdelegate.cpp Sun Jan 7 09:27:11 2018 (r458309) @@ -0,0 +1,15 @@ +error: invalid suffix on literal; C++11 requires a space between literal and identifier +[-Wreserved-user-defined-literal] + GST_LOG_OBJECT(m_sink, "Setting \"widget\" property to %"GST_PTR_FORMAT, widget); + +--- elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp.orig 2018-01-07 08:41:23 UTC ++++ elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp +@@ -36,7 +36,7 @@ QWidget *QWidgetVideoSinkDelegate::widget() const + + void QWidgetVideoSinkDelegate::setWidget(QWidget *widget) + { +- GST_LOG_OBJECT(m_sink, "Setting \"widget\" property to %"GST_PTR_FORMAT, widget); ++ GST_LOG_OBJECT(m_sink, "Setting \"widget\" property to %" GST_PTR_FORMAT, widget); + + if (m_widget) { + m_widget.data()->removeEventFilter(this);