!17 fix(compile): fix compile error: no match for ‘operator<<’ on gcc 7.3.0
From: @wangyucheng1 Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
f7453b54b2
@ -0,0 +1,30 @@
|
||||
From 61b5002e92643f08213e5725ed2a1a8919ced58f Mon Sep 17 00:00:00 2001
|
||||
From: wangyucheng <wangyucheng@kylinsec.com.cn>
|
||||
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
|
||||
|
||||
@ -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 <wangyucheng@kylinsec.om.cn> - 2.5.0-4
|
||||
- KYOS-F: fix compile error: no match for ‘operator<<’ on gcc 7.3.0.
|
||||
|
||||
* Fri Apr 21 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.5.0-3
|
||||
- KYOS-F: qt5 cmake command compatible.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user