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)