svn commit: r458309 - in head/multimedia/gstreamer-qt4: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sun Jan 7 09:27:13 UTC 2018
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<BufferEvent*>(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);
More information about the svn-ports-all
mailing list