diff --git a/20004-Fix-the-bug-for-missing-comma.patch b/20004-Fix-the-bug-for-missing-comma.patch new file mode 100644 index 0000000000000000000000000000000000000000..0c6298fb4da065c4bb7bc8a9c1b2dbdc6ac26c3b --- /dev/null +++ b/20004-Fix-the-bug-for-missing-comma.patch @@ -0,0 +1,26 @@ +From 42b5998fd9392165975d139578c435cf1a714e68 Mon Sep 17 00:00:00 2001 +From: yuanhui +Date: Wed, 27 Dec 2023 13:59:46 +0800 +Subject: [PATCH] Fix the bug for missing comma + +Signed-off-by: yuanhui +--- + src/login/logind-core.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/login/logind-core.c b/src/login/logind-core.c +index abe6eec..519abf5 100644 +--- a/src/login/logind-core.c ++++ b/src/login/logind-core.c +@@ -779,7 +779,7 @@ int manager_read_utmp(Manager *m) { + endutxent(); + return r; + #else +- return 0 ++ return 0; + #endif + } + +-- +2.39.3 + diff --git a/systemd.spec b/systemd.spec index 7bbb2326c9d9ae302a49b7dab8c9a850cc4cb8f6..514c395384a4fafadf982338ab3eb919844f0c46 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.3 +%define anolis_release .0.4 #global gitcommit 10e465b5321bd53c1fc59ffab27e724535c6bc0f %{?gitcommit:%global gitcommitshort %(c=%{gitcommit}; echo ${c:0:7})} @@ -996,6 +996,7 @@ Patch10026: 10026-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch Patch20001: 20001-hwdb-parse_hwdb_dot_py.patch Patch20002: 20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch Patch20003: 20003-core-introduce-cgroup-full-delegation-for-compabilit.patch +Patch20004: 20004-Fix-the-bug-for-missing-comma.patch %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 @@ -1626,6 +1627,9 @@ fi %files tests -f .file-list-tests %changelog +* Wed Dec 27 2023 yuanhui - 239.74.0.4 +- Fix the bug for missing comma + * Mon Oct 30 2023 Zhongling He - 239.74.0.3.3 - Update upstream parse_hwdb.py to fix parse-hwdb error - cgroup: do not refresh cgroup devices config when daemon-reload