Files
haikuports/dev-cpp/gstreamermm/patches/gstreamermm-1.10.0.patchset
2024-10-28 09:53:58 +01:00

24 lines
892 B
Plaintext

From 4b796322af389985a1283ae5839303b9cd9f946e Mon Sep 17 00:00:00 2001
From: Peppersawce <michaelpeppers89@yahoo.it>
Date: Sun, 6 Oct 2024 21:55:51 +0200
Subject: Copied Gentoo fix from
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139cd7a38152835009c149085aad04e53ddc4e1c
diff --git a/gstreamer/gstreamermm/register.h b/gstreamer/gstreamermm/register.h
index db66d17..a7ab3a6 100644
--- a/gstreamer/gstreamermm/register.h
+++ b/gstreamer/gstreamermm/register.h
@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name)
/* The typedef for GType may be gulong or gsize, depending on the
* system and whether the compiler is c++ or not. The g_once_init_*
* functions always take a gsize * though ... */
- static volatile gsize gonce_data = 0;
+ static gsize gonce_data = 0;
if (g_once_init_enter (&gonce_data)) {
GTypeInfo info;
--
2.45.2