commit:     c2351b1123866a33d58d60c4313464bb5bd1a6ba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 09:18:49 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 09:18:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2351b11

media-video/pipewire: backport version.h include fix for 0.3.75

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../0.3.75/0003-missing-include-version.h.patch     | 21 +++++++++++++++++++++
 ...e-0.3.75-r1.ebuild => pipewire-0.3.75-r2.ebuild} |  0
 2 files changed, 21 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch 
b/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch
new file mode 100644
index 000000000000..b1c688bba343
--- /dev/null
+++ b/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch
@@ -0,0 +1,21 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/193384b26aba3917d086ac3f009aa2cab9d197d2
+
+From 193384b26aba3917d086ac3f009aa2cab9d197d2 Mon Sep 17 00:00:00 2001
+From: "Tom A. Wagner" <[email protected]>
+Date: Mon, 24 Jul 2023 12:48:33 +0200
+Subject: [PATCH] pipewire: add missing stdbool.h include to version.h.in
+
+The header file only works when included in a file where stdbool.h was already 
included otherwise.
+--- a/src/pipewire/version.h.in
++++ b/src/pipewire/version.h.in
+@@ -11,6 +11,8 @@
+ extern "C" {
+ #endif
+ 
++#include <stdbool.h>
++
+ /** Return the version of the header files. Keep in mind that this is
+ a macro and not a function, so it is impossible to get the pointer of
+ it. */
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.75-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.75-r1.ebuild
rename to media-video/pipewire/pipewire-0.3.75-r2.ebuild

Reply via email to