Commit 04171334 authored by Chaoting Liu's avatar Chaoting Liu
Browse files

qt5-serialbus: include patch, see #QTBUG-76957 and #213

parent 772a5a35
Pipeline #4139 canceled with stages
in 13 seconds
From 3c440102b1888424f704914609ee054453a2d866 Mon Sep 17 00:00:00 2001
From: Chaoting Liu <brli@chakralinux.org>
Date: Tue, 27 Aug 2019 11:37:15 +0200
Subject: [PATCH] include linux/sockios.h
---
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.20.1
......@@ -9,13 +9,16 @@ pkgdesc='Qt module for general purpose serial bus access'
depends=('qt5-serialport')
makedepends=()
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
sha256sums=('5ef8ce8d7dbdd4065e1a1e842d7effb7134ce262790fcd59076937f3b40b78f3')
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz"
'0001-include-linux-sockios.h.patch')
sha256sums=('5ef8ce8d7dbdd4065e1a1e842d7effb7134ce262790fcd59076937f3b40b78f3'
'3f0adc92232798f5375c73a7e413a95a817bfb32f652d6f668aed039a82f4595')
prepare() {
mkdir -p build
cd ${_pkgfqn}/
patch -Np1 -i $srcdir/0001-include-linux-sockios.h.patch
}
build() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment