diff --git a/0003-fix-compile-fix-compile-error-no-match-for-operator-.patch b/0003-fix-compile-fix-compile-error-no-match-for-operator-.patch new file mode 100644 index 0000000..1cb6204 --- /dev/null +++ b/0003-fix-compile-fix-compile-error-no-match-for-operator-.patch @@ -0,0 +1,30 @@ +From 61b5002e92643f08213e5725ed2a1a8919ced58f Mon Sep 17 00:00:00 2001 +From: wangyucheng +Date: Sat, 22 Apr 2023 14:54:28 +0800 +Subject: [PATCH] =?UTF-8?q?fix(compile):=20fix=20compile=20error:=20no=20m?= + =?UTF-8?q?atch=20for=20=E2=80=98operator<<=E2=80=99=20on=20gcc=207.3.0?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 修复在gcc7.3.0上的编译错误 +--- + src/daemon/device/device-adaptor.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/daemon/device/device-adaptor.cpp b/src/daemon/device/device-adaptor.cpp +index e521575..d3c0435 100644 +--- a/src/daemon/device/device-adaptor.cpp ++++ b/src/daemon/device/device-adaptor.cpp +@@ -329,7 +329,7 @@ void DeviceAdaptor::onIdentifyStatus(const QString &featureID, int result, const + // 认证队列里只存当前会话里的认证请求 + void DeviceAdaptor::onActiveSessionChanged(const Login1SessionItem &sessionItem) + { +- DEVICE_DEBUG() << "active session changed:" << sessionItem.sessionID << sessionItem.sessionObjectPath; ++ DEVICE_DEBUG() << "active session changed:" << sessionItem.sessionID << sessionItem.sessionObjectPath.path(); + + // 清空之前会话里的所有认证请求 + removeAllRequest(); +-- +2.33.0 + diff --git a/kiran-authentication-service.spec b/kiran-authentication-service.spec index cc44dda..57a95ab 100644 --- a/kiran-authentication-service.spec +++ b/kiran-authentication-service.spec @@ -1,6 +1,6 @@ Name: kiran-authentication-service Version: 2.5.0 -Release: 3 +Release: 4 Summary: Kiran Desktop kiran authentication service License: MulanPSL-2.0 URL: http://www.kylinsec.com.cn @@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz Patch0001: 0001-fix-translate-add-some-translation.patch Patch0002: 0002-fix-cmake-qt5-cmake-command-compatible.patch +Patch0003: 0003-fix-compile-fix-compile-error-no-match-for-operator-.patch BuildRequires: systemd BuildRequires: systemd-devel @@ -77,6 +78,9 @@ make %{?_smp_mflags} V=1 %{_includedir}/kiran-authentication-service/kas-authentication-i.h %changelog +* Sat Apr 22 2023 wangyucheng - 2.5.0-4 +- KYOS-F: fix compile error: no match for ‘operator<<’ on gcc 7.3.0. + * Fri Apr 21 2023 wangyucheng - 2.5.0-3 - KYOS-F: qt5 cmake command compatible.