!6 Fix missing define
From: @hht8 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
84aa377f7f
24
Fix-missing-define.patch
Normal file
24
Fix-missing-define.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From c930d20484758a6d847a0506caf4bede38043b76 Mon Sep 17 00:00:00 2001
|
||||||
|
From: hht8 <huanghaitao12138@163.com>
|
||||||
|
Date: Mon, 9 Nov 2020 10:51:17 +0800
|
||||||
|
Subject: [PATCH] Add define with SIOCGSTAMP
|
||||||
|
|
||||||
|
---
|
||||||
|
src/plugins/canbus/socketcan/socketcanbackend.cpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/plugins/canbus/socketcan/socketcanbackend.cpp b/src/plugins/canbus/socketcan/socketcanbackend.cpp
|
||||||
|
index 74b0d1d..a2da146 100644
|
||||||
|
--- a/src/plugins/canbus/socketcan/socketcanbackend.cpp
|
||||||
|
+++ b/src/plugins/canbus/socketcan/socketcanbackend.cpp
|
||||||
|
@@ -45,6 +45,7 @@
|
||||||
|
|
||||||
|
#include <linux/can/error.h>
|
||||||
|
#include <linux/can/raw.h>
|
||||||
|
+#include <linux/sockios.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <net/if.h>
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.11.1
|
Version: 5.11.1
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: QtSerialbus component for qt5
|
Summary: QtSerialbus component for qt5
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
URL: http://www.qt.io
|
URL: http://www.qt.io
|
||||||
|
|
||||||
%global major_minor %(echo %{version} | cut -d. -f1-2)
|
%global major_minor %(echo %{version} | cut -d. -f1-2)
|
||||||
Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtserialbus-everywhere-src-5.11.1.tar.xz
|
Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtserialbus-everywhere-src-5.11.1.tar.xz
|
||||||
|
Patch6000: Fix-missing-define.patch
|
||||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
@ -74,6 +74,9 @@ make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 09 2020 huanghaitao <huanghaitao8@huawei.com> - 5.11.1-7
|
||||||
|
- Fix missing define
|
||||||
|
|
||||||
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
|
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
|
||||||
- Fix Source0
|
- Fix Source0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user