From 3c3ecbbf458b08c5f4c2cfc6d9bbf2820f5f2e3a Mon Sep 17 00:00:00 2001 From: yuanhui Date: Wed, 27 Dec 2023 14:10:37 +0800 Subject: [PATCH] Fix the bug for missing comma Signed-off-by: yuanhui --- 20004-Fix-the-bug-for-missing-comma.patch | 26 +++++++++++++++++++++++ systemd.spec | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 20004-Fix-the-bug-for-missing-comma.patch 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 0000000..0c6298f --- /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 7bbb232..514c395 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 -- Gitee