package/qt5serialbus: fix build with kernel >= 5.2
PATCH 1/1 package/qt5serialbus: fix build with kernel >= 5.2
Fixes:
- http://autobuild.buildroot.org/results/ddacee1d09f34fc718ef05a6e4f0bbbe26cd56d1
- http://autobuild.buildroot.org/results/34a4ed20705b581add96fb5d97828909cee9015c
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 package/qt5/qt5serialbus/5.12.4/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch create mode 100644 package/qt5/qt5serialbus/5.6.3/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch
package/qt5/qt5serialbus/5.12.4/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 43d746c2c0c87c8694e835f3b052317c8fa02482 Mon Sep 17 00:00:00 2001 +From: Andre Hartmann <[email protected]> +Date: Mon, 8 Jul 2019 21:35:12 +0200 +Subject: =?UTF-8?q?SocketCAN:=20Fix=20compiler=20error=20"=E2=80=98SIOCGST?= + =?UTF-8?q?AMP=E2=80=99=20was=20not=20declared"?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: QTBUG-76957 +Change-Id: I8c4c86aa23137d67f5d20eedfe1c46a241c0632b +Reviewed-by: Alex Blasche <[email protected]> +Reviewed-by: Denis Shienkov <[email protected]> + +[Retrieved from: +https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=43d746c2c0c87c8694e835f3b052317c8fa02482] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + 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> +-- +cgit v1.2.1 +
package/qt5/qt5serialbus/5.6.3/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 43d746c2c0c87c8694e835f3b052317c8fa02482 Mon Sep 17 00:00:00 2001 +From: Andre Hartmann <[email protected]> +Date: Mon, 8 Jul 2019 21:35:12 +0200 +Subject: =?UTF-8?q?SocketCAN:=20Fix=20compiler=20error=20"=E2=80=98SIOCGST?= + =?UTF-8?q?AMP=E2=80=99=20was=20not=20declared"?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: QTBUG-76957 +Change-Id: I8c4c86aa23137d67f5d20eedfe1c46a241c0632b +Reviewed-by: Alex Blasche <[email protected]> +Reviewed-by: Denis Shienkov <[email protected]> + +[Retrieved from: +https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=43d746c2c0c87c8694e835f3b052317c8fa02482] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + 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> +-- +cgit v1.2.1 +
Signature · 1 line
2.20.1
PATCH 1/1 package/qt5serialbus: fix build with kernel >= 5.2
Quoted 6 lines · Fabrice Fontaine
Fixes:
- http://autobuild.buildroot.org/results/ddacee1d09f34fc718ef05a6e4f0bbbe26cd56d1
- http://autobuild.buildroot.org/results/34a4ed20705b581add96fb5d97828909cee9015cSigned-off-by Fabrice Fontaine <[email protected]>
Reviewed-by Yegor Yefremov <[email protected]>
Quoted 94 lines
--- ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 package/qt5/qt5serialbus/5.12.4/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch create mode 100644 package/qt5/qt5serialbus/5.6.3/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patchpackage/qt5/qt5serialbus/5.12.4/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch new file +36
-0@@ -0,0 +1,36 @@ +From 43d746c2c0c87c8694e835f3b052317c8fa02482 Mon Sep 17 00:00:00 2001 +From: Andre Hartmann <[email protected]> +Date: Mon, 8 Jul 2019 21:35:12 +0200 +Subject: =?UTF-8?q?SocketCAN:=20Fix=20compiler=20error=20"=E2=80=98SIOCGST?= + =?UTF-8?q?AMP=E2=80=99=20was=20not=20declared"?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: QTBUG-76957 +Change-Id: I8c4c86aa23137d67f5d20eedfe1c46a241c0632b +Reviewed-by: Alex Blasche <[email protected]> +Reviewed-by: Denis Shienkov <[email protected]> + +[Retrieved from: +https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=43d746c2c0c87c8694e835f3b052317c8fa02482] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + 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> +-- +cgit v1.2.1 +package/qt5/qt5serialbus/5.6.3/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch new file +36
-1@@ -0,0 +1,36 @@ +From 43d746c2c0c87c8694e835f3b052317c8fa02482 Mon Sep 17 00:00:00 2001 +From: Andre Hartmann <[email protected]> +Date: Mon, 8 Jul 2019 21:35:12 +0200 +Subject: =?UTF-8?q?SocketCAN:=20Fix=20compiler=20error=20"=E2=80=98SIOCGST?= + =?UTF-8?q?AMP=E2=80=99=20was=20not=20declared"?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: QTBUG-76957 +Change-Id: I8c4c86aa23137d67f5d20eedfe1c46a241c0632b +Reviewed-by: Alex Blasche <[email protected]> +Reviewed-by: Denis Shienkov <[email protected]> + +[Retrieved from: +https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=43d746c2c0c87c8694e835f3b052317c8fa02482] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + 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> +-- +cgit v1.2.1 + --2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/qt5serialbus: fix build with kernel >= 5.2
In reply to Fabrice FontaineQuoted 11 lines · On Fri, 16 Aug 2019 18:27:39 +0200 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/ddacee1d09f34fc718ef05a6e4f0bbbe26cd56d1
- http://autobuild.buildroot.org/results/34a4ed20705b581add96fb5d97828909cee9015cSigned-off-by Fabrice Fontaine <[email protected]>--- ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ ...er-error-SIOCGSTAMP-was-not-declared.patch | 36 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 package/qt5/qt5serialbus/5.12.4/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch create mode 100644 package/qt5/qt5serialbus/5.6.3/0001-SocketCAN-Fix-compiler-error-SIOCGSTAMP-was-not-declared.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com