git: 5e5966b6c992 - main - multimedia/gstreamer1-qt: Prepare for glib 2.68.3

Neel Chauhan nc at FreeBSD.org
Tue Aug 3 00:08:00 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e5966b6c992d8ad4298e4068d3f00f49352005e

commit 5e5966b6c992d8ad4298e4068d3f00f49352005e
Author:     Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-08-03 00:07:01 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-08-03 00:07:52 +0000

    multimedia/gstreamer1-qt: Prepare for glib 2.68.3
    
    PR:     256200
---
 .../patch-elements_gstqtvideosink_gstqtvideosinkplugin.h      | 11 +++++++++++
 multimedia/gstreamer1-qt/files/patch-src_QGlib_value.cpp      | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/multimedia/gstreamer1-qt/files/patch-elements_gstqtvideosink_gstqtvideosinkplugin.h b/multimedia/gstreamer1-qt/files/patch-elements_gstqtvideosink_gstqtvideosinkplugin.h
new file mode 100644
index 000000000000..28ed5c003094
--- /dev/null
+++ b/multimedia/gstreamer1-qt/files/patch-elements_gstqtvideosink_gstqtvideosinkplugin.h
@@ -0,0 +1,11 @@
+--- elements/gstqtvideosink/gstqtvideosinkplugin.h.orig	2021-08-03 00:05:38 UTC
++++ elements/gstqtvideosink/gstqtvideosinkplugin.h
+@@ -28,7 +28,7 @@ GST_DEBUG_CATEGORY_EXTERN(gst_qt_video_sink_debug);
+     GType cpp_type::get_type() \
+     { \
+         static volatile gsize gonce_data = 0; \
+-        if (g_once_init_enter(&gonce_data)) { \
++        if (g_once_init_enter((unsigned long *)&gonce_data)) { \
+             GType type = 0; \
+             GTypeInfo info; \
+             info.class_size = sizeof(cpp_type##Class); \
diff --git a/multimedia/gstreamer1-qt/files/patch-src_QGlib_value.cpp b/multimedia/gstreamer1-qt/files/patch-src_QGlib_value.cpp
new file mode 100644
index 000000000000..2608cbde67ca
--- /dev/null
+++ b/multimedia/gstreamer1-qt/files/patch-src_QGlib_value.cpp
@@ -0,0 +1,11 @@
+--- src/QGlib/value.cpp.orig	2021-08-03 00:00:47 UTC
++++ src/QGlib/value.cpp
+@@ -57,7 +57,7 @@ Dispatcher::Dispatcher()
+     }; \
+     setVTable(GTYPE, ValueVTable(ValueVTable_##NICK::set, ValueVTable_##NICK::get));
+ 
+-    DECLARE_VTABLE(char, char, Type::Char)
++    DECLARE_VTABLE(char, schar, Type::Char)
+     DECLARE_VTABLE(unsigned char, uchar, Type::Uchar)
+     DECLARE_VTABLE(bool, boolean, Type::Boolean)
+     DECLARE_VTABLE(int, int, Type::Int)


More information about the dev-commits-ports-main mailing list