commit:     7056f86ced5f21183c8000720d5508f7dab7594f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 24 00:37:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 24 00:39:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7056f86c

media-libs/gst-plugins-bad: fix glib/volatile build failure in consumers

Revbump required as this leaks into exposed headers and broke the build
for e.g. gst-plugins-opencv.

Bug: https://bugs.gentoo.org/826702
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/gst-plugins-bad/Manifest                                 | 1 +
 ...lugins-bad-1.18.4-r1.ebuild => gst-plugins-bad-1.18.4-r2.ebuild} | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/media-libs/gst-plugins-bad/Manifest 
b/media-libs/gst-plugins-bad/Manifest
index 410a851ca65d..58d6f817bb83 100644
--- a/media-libs/gst-plugins-bad/Manifest
+++ b/media-libs/gst-plugins-bad/Manifest
@@ -1,2 +1,3 @@
 DIST gst-plugins-bad-1.16.3.tar.xz 4900188 BLAKE2B 
7d8280a434adb1cb65b065dcdabdb37aad000802c011bb27779c109978d8b75aa4e2fa47043dde95464bb0c34a0d7466dc1f6216f29f0f4911f7a6fe1fb04b25
 SHA512 
378d8813ba2fd61ea2cab512d5c1fa81e0a4ac4f4ca756547d9b8742e56024c1bc5d6cd332798de66ecfe2b69485c860e181a6c2090398b0e2ad8c4b3fe95d04
+DIST gst-plugins-bad-1.18.4-glib-volatile.patch.bz2 8492 BLAKE2B 
7a6e4a3fc1d68c39ae08cb052eed1fcef9c5507c655525bcb48ab789f20027632136fb195643dc5d2e04728b4c3ac94b1dcbf9a14343333fb80d65c64244e1c8
 SHA512 
0d9e04b883a803cec518469f46dbcf47bfef614694cad6b2bb6e8cb31c3fcc80b0f3d81633b16cd05ca0516f49893aa67f4745dc22e80192ed385fb97ee8b97c
 DIST gst-plugins-bad-1.18.4.tar.xz 5640292 BLAKE2B 
5385abe635a35f61c6780e6cfa1189835877b8c0a12145de6890708a097fc453b1abfb14a3497cae4e6961f71fc2c6e01759fe19386cd30a64c4069704ddf77a
 SHA512 
02123e054419f5ce6ca2ebe0bdf23572269ea4120bf463b4d672efbe5d9e5d417d4d711cc80094be974c4569f754d8b2ad93f59b827e3b018d450582834cb125

diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild 
b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild
similarity index 91%
rename from media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild
rename to media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild
index 1fd698e16f5f..93b00d92d833 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild
@@ -8,6 +8,8 @@ inherit flag-o-matic gstreamer-meson
 
 DESCRIPTION="Less plugins for GStreamer"
 HOMEPAGE="https://gstreamer.freedesktop.org/";
+# glib/misuse of volatile fix, can be dropped in 1.18.5
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-glib-volatile.patch.bz2";
 
 LICENSE="LGPL-2"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
@@ -43,6 +45,10 @@ DEPEND="${RDEPEND}
 # FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: 
(element != NULL)
 RESTRICT="test"
 
+PATCHES=(
+       "${WORKDIR}"/${P}-glib-volatile.patch
+)
+
 src_prepare() {
        default
        addpredict /dev # Prevent sandbox violations bug #570624

Reply via email to