diff options
author | Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> | 2022-06-15 22:39:05 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-15 22:56:11 +0100 |
commit | 7cdc0a83c67485ddab63e320b5e9e0012c81445f (patch) | |
tree | a03631de9be36d0bf753e3fb16f75394dbe5043b /media-video/pipewire/files | |
parent | media-video/pipewire: fix mistake in upstream example limits.d file (diff) | |
download | gentoo-7cdc0a83c67485ddab63e320b5e9e0012c81445f.tar.gz gentoo-7cdc0a83c67485ddab63e320b5e9e0012c81445f.tar.bz2 gentoo-7cdc0a83c67485ddab63e320b5e9e0012c81445f.zip |
media-video/pipewire: clean up 0.3.50
PipeWire 0.3.50 was by no means a bad release but 0.3.51 should be
even better, and it already has been in the tree for long enough to
go stable, so no point in keeping 0.3.50 around.
Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com>
Closes: https://github.com/gentoo/gentoo/pull/25916
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/pipewire/files')
-rw-r--r-- | media-video/pipewire/files/pipewire-0.3.50-fix-spa-header.patch | 39 | ||||
-rw-r--r-- | media-video/pipewire/files/pipewire-0.3.50-treewide-retain-sections-to.patch | 70 |
2 files changed, 0 insertions, 109 deletions
diff --git a/media-video/pipewire/files/pipewire-0.3.50-fix-spa-header.patch b/media-video/pipewire/files/pipewire-0.3.50-fix-spa-header.patch deleted file mode 100644 index 5b9ad3cf2d7c..000000000000 --- a/media-video/pipewire/files/pipewire-0.3.50-fix-spa-header.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/d3ea3142e1a4de206e616bc18f63a529e6b4986a.patch -https://bugs.gentoo.org/838427 - -From: psykose <alice@ayaya.dev> -Date: Wed, 13 Apr 2022 21:57:49 +0000 -Subject: [PATCH] spa: fix c90 header include - -placing declarations after code is invalid under ISO c90 - -Fixes !1211 ---- a/spa/include/spa/utils/string.h -+++ b/spa/include/spa/utils/string.h -@@ -276,10 +276,11 @@ static inline int spa_scnprintf(char *buffer, size_t size, const char *format, . - static inline float spa_strtof(const char *str, char **endptr) - { - static locale_t locale = NULL; -+ locale_t prev; - float v; - if (SPA_UNLIKELY(locale == NULL)) - locale = newlocale(LC_ALL_MASK, "C", NULL); -- locale_t prev = uselocale(locale); -+ prev = uselocale(locale); - v = strtof(str, endptr); - uselocale(prev); - return v; -@@ -319,10 +320,11 @@ static inline bool spa_atof(const char *str, float *val) - static inline double spa_strtod(const char *str, char **endptr) - { - static locale_t locale = NULL; -+ locale_t prev; - double v; - if (SPA_UNLIKELY(locale == NULL)) - locale = newlocale(LC_ALL_MASK, "C", NULL); -- locale_t prev = uselocale(locale); -+ prev = uselocale(locale); - v = strtod(str, endptr); - uselocale(prev); - return v; -GitLab diff --git a/media-video/pipewire/files/pipewire-0.3.50-treewide-retain-sections-to.patch b/media-video/pipewire/files/pipewire-0.3.50-treewide-retain-sections-to.patch deleted file mode 100644 index 1e1a8198ef26..000000000000 --- a/media-video/pipewire/files/pipewire-0.3.50-treewide-retain-sections-to.patch +++ /dev/null @@ -1,70 +0,0 @@ -https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/e28a052105f8ef35b3f469d3b85e1fcb25106f26 - -From e28a052105f8ef35b3f469d3b85e1fcb25106f26 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= <pobrn@protonmail.com> -Date: Wed, 13 Apr 2022 18:13:12 +0200 -Subject: [PATCH] treewide: retain sections to prevent linker garbage - collection - -The linker may remove sections that are actually used when -"--gc-sections" and "-z start-stop-gc" is set. Add the `retain` -attribute to prevent that. - -Furthermore, fix the alignment for `pwtest_suite_decl` objects. - -See: #2292 -See: https://lld.llvm.org/ELF/start-stop-gc.html -See: https://github.com/systemd/systemd/issues/21847 -See: https://github.com/systemd/systemd/pull/21855 ---- - src/modules/module-protocol-pulse/module.h | 1 + - test/pwtest-implementation.h | 2 +- - test/pwtest.h | 6 ++++-- - 3 files changed, 6 insertions(+), 3 deletions(-) - -diff --git a/src/modules/module-protocol-pulse/module.h b/src/modules/module-protocol-pulse/module.h -index c1153640e..f75d8786c 100644 ---- a/src/modules/module-protocol-pulse/module.h -+++ b/src/modules/module-protocol-pulse/module.h -@@ -47,6 +47,7 @@ struct module_info { - - #define DEFINE_MODULE_INFO(name) \ - __attribute__((used)) \ -+ __attribute__((retain)) \ - __attribute__((section("pw_mod_pulse_modules"))) \ - __attribute__((aligned(__alignof__(struct module_info)))) \ - const struct module_info name -diff --git a/test/pwtest-implementation.h b/test/pwtest-implementation.h -index 7bfad01cf..1525d2056 100644 ---- a/test/pwtest-implementation.h -+++ b/test/pwtest-implementation.h -@@ -131,7 +131,7 @@ void _pwtest_add(struct pwtest_context *ctx, - struct pwtest_suite_decl { - const char *name; - enum pwtest_result (*setup)(struct pwtest_context *, struct pwtest_suite *); --} __attribute__((aligned(16))); -+}; - - - #endif /* PWTEST_IMPLEMENTATION_H */ -diff --git a/test/pwtest.h b/test/pwtest.h -index 9c0737523..6d3070b79 100644 ---- a/test/pwtest.h -+++ b/test/pwtest.h -@@ -494,9 +494,11 @@ enum pwtest_arg { - */ - #define PWTEST_SUITE(cname) \ - static enum pwtest_result (cname##__setup)(struct pwtest_context *ctx, struct pwtest_suite *suite); \ -- static const struct pwtest_suite_decl _test_suite \ - __attribute__((used)) \ -- __attribute((section("pwtest_suite_section"))) = { \ -+ __attribute__((retain)) \ -+ __attribute__((section("pwtest_suite_section"))) \ -+ __attribute__((aligned(__alignof__(struct pwtest_suite_decl)))) \ -+ static const struct pwtest_suite_decl _test_suite = { \ - .name = #cname, \ - .setup = cname##__setup, \ - }; \ --- -GitLab - |