From a45fb7092a99114f4ebaf36cefb02a16f2fe383c Mon Sep 17 00:00:00 2001 From: "yan.yihao 10263201" Date: Wed, 22 Oct 2025 17:18:53 +0800 Subject: [PATCH] fix building against gcc 14 upstream: https://src.fedoraproject.org/rpms/tigervnc/c/2957f63ae94a44084424568cd15a621ddbc715ae --- tigervnc-xserver120.patch | 2 +- tigervnc.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tigervnc-xserver120.patch b/tigervnc-xserver120.patch index e7eae3c..abccc9a 100644 --- a/tigervnc-xserver120.patch +++ b/tigervnc-xserver120.patch @@ -67,7 +67,7 @@ index 5596e21..003fc3c 100644 #include "globals.h" +#ifdef TIGERVNC -+extern void vncExtensionInit(INITARGS); ++extern void vncExtensionInit(void); +#endif + /* List of built-in (statically linked) extensions */ diff --git a/tigervnc.spec b/tigervnc.spec index a193e9d..0271380 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,4 +1,4 @@ -%define anolis_release 5 +%define anolis_release 6 #defining macros needed by SELinux %global selinuxtype targeted %global modulename vncsession @@ -333,6 +333,9 @@ fi %ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} %changelog +* Tue Oct 21 2025 Yihao Yan - 1.13.1-6 +- fix building against gcc 14 + * Mon Aug 11 2025 mgb01105731 - 1.13.1-5 - Rebuild with xorg-x11-server to fix CVE-2025-49175,CVE-2025-49176, CVE-2025-49178,CVE-2025-49179,CVE-2025-49180 -- Gitee