From owner-dev-commits-ports-main@freebsd.org Mon Aug 2 23:50:54 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9404367C3E1; Mon, 2 Aug 2021 23:50:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdvsB3m75z3pKg; Mon, 2 Aug 2021 23:50:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6941BC34; Mon, 2 Aug 2021 23:50:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 172Nos12074708; Mon, 2 Aug 2021 23:50:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 172Nos1U074707; Mon, 2 Aug 2021 23:50:54 GMT (envelope-from git) Date: Mon, 2 Aug 2021 23:50:54 GMT Message-Id: <202108022350.172Nos1U074707@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: 5f68286245db - main - graphics/gstreamer1-plugins-qt: Prepare for glib 2.68.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f68286245dbdfc1376522d96961ac148a9a5ceb Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2021 23:50:54 -0000 The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f68286245dbdfc1376522d96961ac148a9a5ceb commit 5f68286245dbdfc1376522d96961ac148a9a5ceb Author: Neel Chauhan AuthorDate: 2021-08-02 23:50:13 +0000 Commit: Neel Chauhan CommitDate: 2021-08-02 23:50:51 +0000 graphics/gstreamer1-plugins-qt: Prepare for glib 2.68.3 PR: 256200 --- .../files/patch-ext_qt_gstqsgtexture.cc | 11 +++++++++++ .../files/patch-ext_qt_gstqtglutility.cc | 15 +++++++++++++++ .../files/patch-ext_qt_qtitem.cc | 11 +++++++++++ .../files/patch-ext_qt_qtwindow.cc | 20 ++++++++++++++++++++ 4 files changed, 57 insertions(+) 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); + }