From 30e3c2438048a0bbb26dc242692b37dfc07ccb68 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 3 Jun 2022 22:15:22 +0200 Subject: [PATCH] - added include patch (missing include for false) --- systemd-include.patch | 12 ++++++++++++ systemd.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 systemd-include.patch 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 + +--- 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 + #endif ++#include + + #include "macro-fundamental.h" + #include "sha256.h" 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 -- 2.44.0