aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-good
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-08-02 23:50:13 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-08-02 23:50:51 +0000
commit5f68286245dbdfc1376522d96961ac148a9a5ceb (patch)
tree5e1d1c48f8928f72fbabd981efe02985358aa602 /multimedia/gstreamer1-plugins-good
parent6b7f4067870be71dc492098ea043ea5db7e03b9a (diff)
downloadports-5f68286245dbdfc1376522d96961ac148a9a5ceb.tar.gz
ports-5f68286245dbdfc1376522d96961ac148a9a5ceb.zip
Diffstat (limited to 'multimedia/gstreamer1-plugins-good')
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqsgtexture.cc11
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqtglutility.cc15
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc11
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtwindow.cc20
4 files changed, 57 insertions, 0 deletions
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqsgtexture.cc b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqsgtexture.cc
new file mode 100644
index 000000000000..04beb939a5af
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqsgtexture.cc
@@ -0,0 +1,11 @@
+--- ext/qt/gstqsgtexture.cc.orig 2021-08-02 23:41:35 UTC
++++ ext/qt/gstqsgtexture.cc
+@@ -39,7 +39,7 @@ GstQSGTexture::GstQSGTexture ()
+
+ initializeOpenGLFunctions();
+
+- if (g_once_init_enter (&_debug)) {
++ if (g_once_init_enter ((unsigned long *)&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtqsgtexture", 0,
+ "Qt Scenegraph Texture");
+ g_once_init_leave (&_debug, 1);
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqtglutility.cc b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqtglutility.cc
new file mode 100644
index 000000000000..5f8a46fa4fbb
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_gstqtglutility.cc
@@ -0,0 +1,15 @@
+--- ext/qt/gstqtglutility.cc.orig 2021-08-02 23:37:36 UTC
++++ ext/qt/gstqtglutility.cc
+@@ -62,10 +62,10 @@ gst_qt_get_gl_display ()
+
+ g_assert (app != NULL);
+
+- if (g_once_init_enter (&_debug)) {
++ if (g_once_init_enter ((unsigned long *)&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglutility", 0,
+ "Qt gl utility functions");
+- g_once_init_leave (&_debug, 1);
++ g_once_init_leave ((unsigned long *)&_debug, 1);
+ }
+ GST_INFO ("QGuiApplication::instance()->platformName() %s", app->platformName().toUtf8().data());
+
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc
new file mode 100644
index 000000000000..de63d41826cb
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc
@@ -0,0 +1,11 @@
+--- ext/qt/qtitem.cc.orig 2021-08-02 23:44:43 UTC
++++ ext/qt/qtitem.cc
+@@ -104,7 +104,7 @@ QtGLVideoItem::QtGLVideoItem()
+ {
+ static volatile gsize _debug;
+
+- if (g_once_init_enter (&_debug)) {
++ if (g_once_init_enter ((unsigned long *)&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglwidget", 0, "Qt GL Widget");
+ g_once_init_leave (&_debug, 1);
+ }
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtwindow.cc b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtwindow.cc
new file mode 100644
index 000000000000..42703a0fc2bb
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtwindow.cc
@@ -0,0 +1,20 @@
+--- ext/qt/qtwindow.cc.orig 2021-08-02 23:46:48 UTC
++++ ext/qt/qtwindow.cc
+@@ -107,7 +107,7 @@ QtGLWindow::QtGLWindow ( QWindow * parent, QQuickWindo
+
+ g_assert (app != NULL);
+
+- if (g_once_init_enter (&_debug)) {
++ if (g_once_init_enter ((unsigned long *)&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglwindow", 0, "Qt GL QuickWindow");
+ g_once_init_leave (&_debug, 1);
+ }
+@@ -153,7 +153,7 @@ QtGLWindow::beforeRendering()
+ g_mutex_lock (&this->priv->lock);
+
+ static volatile gsize once = 0;
+- if (g_once_init_enter(&once)) {
++ if (g_once_init_enter((unsigned long *)&once)) {
+ this->priv->start = QDateTime::currentDateTime().toMSecsSinceEpoch();
+ g_once_init_leave(&once,1);
+ }