From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/, media-video/pipewire/
Date: Fri, 15 Apr 2022 07:59:01 +0000 (UTC) [thread overview]
Message-ID: <1650009532.8f1fed6f96c53251186f0f7fd8e2c2bc3a73ea9d.sam@gentoo> (raw)
commit: 8f1fed6f96c53251186f0f7fd8e2c2bc3a73ea9d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 07:58:31 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 07:58:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1fed6f
media-video/pipewire: fix spa header
Closes: https://bugs.gentoo.org/838427
Signed-off-by: Sam James <sam <AT> gentoo.org>
| 39 ++++++++++++++++++++++
...ire-0.3.50.ebuild => pipewire-0.3.50-r1.ebuild} | 1 +
2 files changed, 40 insertions(+)
--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
new file mode 100644
index 000000000000..5b9ad3cf2d7c
--- /dev/null
+++ b/media-video/pipewire/files/pipewire-0.3.50-fix-spa-header.patch
@@ -0,0 +1,39 @@
+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/pipewire-0.3.50.ebuild b/media-video/pipewire/pipewire-0.3.50-r1.ebuild
similarity index 99%
rename from media-video/pipewire/pipewire-0.3.50.ebuild
rename to media-video/pipewire/pipewire-0.3.50-r1.ebuild
index 6a066b48013e..486d6073c4d1 100644
--- a/media-video/pipewire/pipewire-0.3.50.ebuild
+++ b/media-video/pipewire/pipewire-0.3.50-r1.ebuild
@@ -124,6 +124,7 @@ DOCS=( {README,INSTALL}.md NEWS )
PATCHES=(
"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
+ "${FILESDIR}"/${P}-fix-spa-header.patch
)
# limitsdfile related code taken from =sys-auth/realtime-base-0.1
next reply other threads:[~2022-04-15 7:59 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-15 7:59 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-17 20:00 [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/, media-video/pipewire/ Andreas Sturmlechner
2024-07-01 8:19 Sam James
2023-08-24 19:42 Sam James
2023-06-17 2:49 Sam James
2023-06-07 9:52 Sam James
2023-06-07 9:52 Sam James
2023-05-05 8:35 Sam James
2022-12-30 6:59 Sam James
2022-12-27 14:17 Sam James
2022-12-16 4:56 Sam James
2022-12-10 4:35 Sam James
2022-11-11 4:25 Sam James
2022-11-11 4:25 Sam James
2022-07-19 21:18 Sam James
2022-07-10 20:23 Sam James
2022-07-09 1:12 Sam James
2022-07-04 23:53 Sam James
2022-06-15 21:56 Sam James
2022-06-10 0:38 Sam James
2022-04-21 22:03 Sam James
2022-04-21 21:57 Sam James
2022-04-17 16:44 Sam James
2022-01-29 0:49 Sam James
2022-01-06 20:53 Sam James
2021-12-18 6:39 Sam James
2021-11-11 22:09 Sam James
2021-10-26 9:03 Sam James
2021-10-26 8:59 Sam James
2021-10-25 17:12 Patrick McLean
2021-09-21 6:32 Miroslav Šulc
2021-09-19 1:18 Sam James
2021-08-27 10:50 Lars Wendler
2021-08-24 13:17 Thomas Deutschmann
2021-06-30 20:40 Lars Wendler
2021-06-30 20:16 Lars Wendler
2021-06-04 7:33 Thomas Deutschmann
2021-05-21 23:05 Thomas Deutschmann
2021-04-24 21:15 Thomas Deutschmann
2019-10-21 23:38 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650009532.8f1fed6f96c53251186f0f7fd8e2c2bc3a73ea9d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox