From 275dd0186130198ff7fc2374cf682976e26459da Mon Sep 17 00:00:00 2001 From: "yan.yihao 10263201" Date: Mon, 20 Oct 2025 11:26:45 +0800 Subject: [PATCH] turning gcc errors back into warnings --- vim.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vim.spec b/vim.spec index 7fe3ab8..f31bb6e 100644 --- a/vim.spec +++ b/vim.spec @@ -1,4 +1,4 @@ -%define anolis_release 8 +%define anolis_release 9 %bcond_without gui %bcond_with default_editor @@ -319,7 +319,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk cd src autoconf -export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" +export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wno-error=implicit-function-declaration" export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" cp -f os_unix.h os_unix.h.save @@ -844,6 +844,9 @@ touch %{buildroot}/%{data_dir}/vimfiles/doc/tags %endif %changelog +* Mon Oct 20 2025 Yihao Yan - 3:9.0.2092-9 +- turning gcc errors back into warnings + * Mon Aug 25 2025 zjl002254423 -3:9.0.2092-8 - Add patch to fix CVE-2025-22134,CVE-2025-26603,CVE-2024-1215,CVE-2025-29768,CVE-2024-41957,CVE-2024-41965 -- Gitee