[packages/systemd] - added include patch (missing include for false)
qboosh
qboosh at pld-linux.org
Fri Jun 3 22:14:12 CEST 2022
commit 30e3c2438048a0bbb26dc242692b37dfc07ccb68
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jun 3 22:15:22 2022 +0200
- added include patch (missing include for false)
systemd-include.patch | 12 ++++++++++++
systemd.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index 9db3db6..d8cf926 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -80,6 +80,7 @@ Patch14: pld-pam-%{name}-user.patch
Patch15: %{name}-x32.patch
Patch16: rpm-macros.patch
Patch17: size_t-format.patch
+Patch18: %{name}-include.patch
URL: https://www.freedesktop.org/wiki/Software/systemd/
BuildRequires: acl-devel
%{?with_audit:BuildRequires: audit-libs-devel}
@@ -773,6 +774,7 @@ Makra RPM-a definiujące ścieżki i skryptlety związane z systemd.
%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
cp -p %{SOURCE2} src/systemd_booted.c
diff --git a/systemd-include.patch b/systemd-include.patch
new file mode 100644
index 0000000..22cbca6
--- /dev/null
+++ b/systemd-include.patch
@@ -0,0 +1,12 @@
+Constant `false` (used on some platforms) requires <stdbool.h>
+
+--- systemd-stable-251.2/src/fundamental/sha256.c.orig 2022-06-02 20:07:11.000000000 +0200
++++ systemd-stable-251.2/src/fundamental/sha256.c 2022-06-03 20:29:08.057216388 +0200
+@@ -26,6 +26,7 @@
+ #ifndef SD_BOOT
+ #include <string.h>
+ #endif
++#include <stdbool.h>
+
+ #include "macro-fundamental.h"
+ #include "sha256.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/30e3c2438048a0bbb26dc242692b37dfc07ccb68
More information about the pld-cvs-commit
mailing list