fix(mf-iristar-driver):Fix compilation issues with std:: function in lower versions
- 修复std::function在低版本的编译问题
This commit is contained in:
parent
2895d8ad0b
commit
261c122c0c
@ -0,0 +1,29 @@
|
||||
From 3fe0189b4bb5cd0d8fb3698dcdf136d5f1a64e8e Mon Sep 17 00:00:00 2001
|
||||
From: luoqing <luoqing@kylinsec.com.cn>
|
||||
Date: Wed, 24 May 2023 17:40:53 +0800
|
||||
Subject: [PATCH] fix(mf-iristar-driver):Fix compilation issues with std::
|
||||
function in lower versions
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
- 修复std::function在低版本的编译问题
|
||||
---
|
||||
src/driver/multi-function/mf-iristar-driver.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/driver/multi-function/mf-iristar-driver.cpp b/src/driver/multi-function/mf-iristar-driver.cpp
|
||||
index 4af8cff..298a0e8 100644
|
||||
--- a/src/driver/multi-function/mf-iristar-driver.cpp
|
||||
+++ b/src/driver/multi-function/mf-iristar-driver.cpp
|
||||
@@ -12,6 +12,7 @@
|
||||
* Author: luoqing <luoqing@kylinsec.com.cn>
|
||||
*/
|
||||
|
||||
+#include <functional>
|
||||
#include "mf-iristar-driver.h"
|
||||
#include <dlfcn.h>
|
||||
#include <qt5-log-i.h>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
Name: kiran-authentication-devices
|
||||
|
||||
Version: 2.5.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Kiran Authentication Devices
|
||||
|
||||
License: MulanPSL-2.0
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Patch0001: 0001-fix-mf-iristar-driver-Fix-compilation-issues-with-st.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
@ -63,6 +65,9 @@ systemctl enable kiran-authentication-devices.service
|
||||
rm -rf ${buildroot}
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-2
|
||||
- KYOS-F: fix compilation issues with std:: function in lower versions.
|
||||
|
||||
* Wed May 24 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-1
|
||||
- KYOS-F: add Ukey management tool.
|
||||
- KYOS-F: added iristar device , supporting iris and facial enroll and identify.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user