redox/recipes/libs/gstreamer/redox.patch
2026-09-28 08:48:28 +07:00

47 lines
2.0 KiB
Diff

diff -ruwN source/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c source-new/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c
--- source/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c 2025-01-29 20:12:29.000000000 +0000
+++ source-new/subprojects/gst-plugins-bad/ext/dtls/gstdtlsconnection.c 2026-09-13 01:22:57.407426034 +0000
@@ -49,6 +49,10 @@
#include <errno.h>
#endif
+#if defined(__redox__)
+#include <sys/time.h> // For struct timeval
+#endif
+
GST_DEBUG_CATEGORY_STATIC (gst_dtls_connection_debug);
#define GST_CAT_DEFAULT gst_dtls_connection_debug
diff -ruwN source/subprojects/gst-plugins-base/gst-libs/gst/tag/meson.build source-new/subprojects/gst-plugins-base/gst-libs/gst/tag/meson.build
--- source/subprojects/gst-plugins-base/gst-libs/gst/tag/meson.build 2025-01-29 20:12:29.000000000 +0000
+++ source-new/subprojects/gst-plugins-base/gst-libs/gst/tag/meson.build 2026-09-13 01:22:57.408426091 +0000
@@ -136,10 +136,10 @@
install: false)
endif
-executable('mklicensestables', 'mklicensestables.c',
- c_args : gst_plugins_base_args,
- include_directories: [configinc],
- dependencies : [tag_dep, gst_base_dep],
- install : false)
+#executable('mklicensestables', 'mklicensestables.c',
+# c_args : gst_plugins_base_args,
+# include_directories: [configinc],
+# dependencies : [tag_dep, gst_base_dep],
+# install : false)
gst_tag_dir = meson.current_source_dir()
diff -ruwN source/subprojects/gstreamer/gst/gstregistry.c source-new/subprojects/gstreamer/gst/gstregistry.c
--- source/subprojects/gstreamer/gst/gstregistry.c 2025-01-29 20:12:29.000000000 +0000
+++ source-new/subprojects/gstreamer/gst/gstregistry.c 2026-09-29 02:59:06.518249721 +0000
@@ -174,7 +174,8 @@
static GstRegistry *_gst_registry_default = NULL;
/* defaults */
-#define DEFAULT_FORK TRUE
+/* redox: forking result in hang */
+#define DEFAULT_FORK FALSE
/* control the behaviour of registry rebuild */
static gboolean _gst_enable_registry_fork = DEFAULT_FORK;