can-utils: bump to revision 665d869
PATCH 1/1 can-utils: bump to revision 665d869
From: "William A. Kennington III via Openembedded-devel" <[email protected]>
Also:
- remove patch applied upstream
- update the hash of the license because the file now contains a SPDX license identifier
BACKPORT from openembedded master
--- ...o-find-SIOCGSTAMP-with-latest-kernel.patch | 106 ------------------ .../socketcan/can-utils_git.bb | 9 +- 2 files changed, 4 insertions(+), 111 deletions(-) delete mode 100644 meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch
meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0 -106
@@ -1,106 +0,0 @@ -From 20981c8a328747f823b7eef68d0c2812b3eaed30 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Sun, 14 Jul 2019 21:50:43 +0200 -Subject: [PATCH] fix include to find SIOCGSTAMP with latest kernel - -In linux kernel commit 0768e17073dc527ccd18ed5f96ce85f9985e9115 -the asm-generic/sockios.h header no longer defines SIOCGSTAMP. -Instead it provides only SIOCGSTAMP_OLD. - -The linux/sockios.h header now defines SIOCGSTAMP using either -SIOCGSTAMP_OLD or SIOCGSTAMP_NEW as appropriate. This linux only -header file is not pulled so we get a build failure. - -canlogserver.c: In function 'main': -canlogserver.c:404:21: error: 'SIOCGSTAMP' undeclared (first use in this function); did you mean 'SIOCGRARP'? - if (ioctl(s[i], SIOCGSTAMP, &tv) < 0) - ^~~~~~~~~~ - SIOCGRARP -canlogserver.c:404:21: note: each undeclared identifier is reported only once for each function it appears in - -Fixes: - - http://autobuild.buildroot.org/results/363de7d9bf433be8bc47ba4ee52ae0bb80fa9021 - -Upstream-Status: Backport [https://github.com/linux-can/can-utils/commit/e9590b1ca75d360eaf3211bebd86058214d48064] -Signed-off-by: Fabrice Fontaine <[email protected]> ---- - canlogserver.c | 1 + - cansniffer.c | 1 + - isotpdump.c | 1 + - isotpperf.c | 1 + - isotpsniffer.c | 1 + - slcanpty.c | 1 + - 6 files changed, 6 insertions(+) - -diff --git a/canlogserver.c b/canlogserver.c -index e3350b7..f53165c 100644 ---- a/canlogserver.c -+++ b/canlogserver.c -@@ -61,6 +61,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - #include <signal.h> - #include <errno.h> - -diff --git a/cansniffer.c b/cansniffer.c -index 7b0a3fa..bf7d72e 100644 ---- a/cansniffer.c -+++ b/cansniffer.c -@@ -61,6 +61,7 @@ - - #include <linux/can.h> - #include <linux/can/bcm.h> -+#include <linux/sockios.h> - - #include "terminal.h" - -diff --git a/isotpdump.c b/isotpdump.c -index b2b650a..36d8af3 100644 ---- a/isotpdump.c -+++ b/isotpdump.c -@@ -55,6 +55,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - #include "terminal.h" - - #define NO_CAN_ID 0xFFFFFFFFU -diff --git a/isotpperf.c b/isotpperf.c -index db3a2b7..5852a57 100644 ---- a/isotpperf.c -+++ b/isotpperf.c -@@ -56,6 +56,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - - #define NO_CAN_ID 0xFFFFFFFFU - #define PERCENTRES 2 /* resolution in percent for bargraph */ -diff --git a/isotpsniffer.c b/isotpsniffer.c -index f42e18b..d7a4c66 100644 ---- a/isotpsniffer.c -+++ b/isotpsniffer.c -@@ -55,6 +55,7 @@ - - #include <linux/can.h> - #include <linux/can/isotp.h> -+#include <linux/sockios.h> - #include "terminal.h" - - #define NO_CAN_ID 0xFFFFFFFFU -diff --git a/slcanpty.c b/slcanpty.c -index 431ca68..7dfaf5c 100644 ---- a/slcanpty.c -+++ b/slcanpty.c -@@ -40,6 +40,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - - /* maximum rx buffer len: extended CAN frame with timestamp */ - #define SLC_MTU (sizeof("T1111222281122334455667788EA5F\r")+1)
meta-oe/recipes-extended/socketcan/can-utils_git.bb +4 -5
@@ -1,14 +1,13 @@ SUMMARY = "Linux CAN network development utilities" DESCRIPTION = "Linux CAN network development" LICENSE = "GPLv2 & BSD-3-Clause" -LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=43;md5=390a2c9a3c5e3595a069ac1436553ee7" +LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31" DEPENDS = "libsocketcan" -SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git;branch=master \ - file://0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch \ - " -SRCREV = "4c8fb05cb4d6ddcd67299008db54af423f86fd05" +SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git;branch=master" + +SRCREV = "665d8699ebe728bf48e63e8ae58d2482db72f954" PV = "0.0+gitr${SRCPV}"
Signature · 1 line
2.25.0
Please disregard 😊
Quoted 182 lines
-----Original Message-----
From: Jaewon Lee <[email protected]>
Sent: Thursday, February 20, 2020 3:15 PM
To:git_plnxyocto<[email protected]>
Cc: William A. Kennington III via Openembedded-devel <openembedded- [email protected]>; Pierre-Jean Texier <[email protected]>; Khem Raj <[email protected]>; Jaewon Lee <[email protected]>
Subject: [meta-openembedded][rel-v2020.1][PATCH] can-utils: bump to revision 665d869From: "William A. Kennington III via Openembedded-devel" <[email protected]>
Also:
- remove patch applied upstream
- update the hash of the license because the file now contains a SPDX
license identifierBACKPORT from openembedded master
Signed-off-by Pierre-Jean Texier <[email protected]>Signed-off-by Khem Raj <[email protected]>Signed-off-by Jaewon Lee <[email protected]>--- ...o-find-SIOCGSTAMP-with-latest-kernel.patch | 106 ------------------ .../socketcan/can-utils_git.bb | 9 +- 2 files changed, 4 insertions(+), 111 deletions(-) delete mode 100644 meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find- SIOCGSTAMP-with-latest-kernel.patch
(quoted diff) +0
-0to-find-SIOCGSTAMP-with-latest-kernel.patch b/meta-oe/recipes- extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with- latest-kernel.patch
deleted file mode 100644
index cbf3aee10..000000000
--- a/meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to- find-SIOCGSTAMP-with-latest-kernel.patch
+++/dev/null(quoted diff) +0
-1@@ -1,106 +0,0 @@ -From 20981c8a328747f823b7eef68d0c2812b3eaed30 Mon Sep 17 00:00:002001
meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-9-From: Fabrice Fontaine <[email protected]> -Date: Sun, 14 Jul 2019 21:50:43 +0200 -Subject: [PATCH] fix include to find SIOCGSTAMP with latest kernel - -In linux kernel commit 0768e17073dc527ccd18ed5f96ce85f9985e9115 -the asm-generic/sockios.h header no longer defines SIOCGSTAMP. -Instead it provides only SIOCGSTAMP_OLD. - -The linux/sockios.h header now defines SIOCGSTAMP using either -
SIOCGSTAMP_OLDorSIOCGSTAMP_NEWas appropriate. This linux only - header file is not pulled so we get a build failure.meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-3- -canlogserver.c: In function 'main': -canlogserver.c:404:21: error: 'SIOCGSTAMP' undeclared (first use in thisfunction); did you mean 'SIOCGRARP'?
meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-4- if (ioctl(s[i], SIOCGSTAMP, &tv) < 0) - ^~~~~~~~~~ - SIOCGRARP -canlogserver.c:404:21: note: each undeclared identifier is reported onlyonce for each function it appears in
meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-3- -Fixes: - -http://autobuild.buildroot.org/results/363de7d9bf433be8bc47ba4ee52ae0b
b80fa9021(quoted diff) +0
-2- -Upstream-Status: Backport [https://github.com/linux-can/can-utils/commit/e9590b1ca75d360eaf3211bebd86058214d48064]
meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-56-Signed-off-by: Fabrice Fontaine <[email protected]> ---- - canlogserver.c | 1 + - cansniffer.c | 1 + - isotpdump.c | 1 + - isotpperf.c | 1 + - isotpsniffer.c | 1 + - slcanpty.c | 1 + - 6 files changed, 6 insertions(+) - -diff --git a/canlogserver.c b/canlogserver.c -index e3350b7..f53165c 100644 ---- a/canlogserver.c -+++ b/canlogserver.c -@@ -61,6 +61,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - #include <signal.h> - #include <errno.h> - -diff --git a/cansniffer.c b/cansniffer.c -index 7b0a3fa..bf7d72e 100644 ---- a/cansniffer.c -+++ b/cansniffer.c -@@ -61,6 +61,7 @@ - - #include <linux/can.h> - #include <linux/can/bcm.h> -+#include <linux/sockios.h> - - #include "terminal.h" - -diff --git a/isotpdump.c b/isotpdump.c -index b2b650a..36d8af3 100644 ---- a/isotpdump.c -+++ b/isotpdump.c -@@ -55,6 +55,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - #include "terminal.h" - - #define NO_CAN_ID 0xFFFFFFFFU -diff --git a/isotpperf.c b/isotpperf.c -index db3a2b7..5852a57 100644 ---- a/isotpperf.c -+++ b/isotpperf.c -@@ -56,6 +56,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - - #define NO_CAN_ID 0xFFFFFFFFU - #define PERCENTRES 2 /* resolution in percent for bargraph */ -diff --git
a/isotpsniffer.cb/isotpsniffer.c-index f42e18b..d7a4c66 100644 ----a/isotpsniffer.c
-+++b/isotpsniffer.c
-@@ -55,6 +55,7 @@meta-oe/recipes-extended/socketcan/can-utils/0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch deleted +0
-19- - #include <linux/can.h> - #include <linux/can/isotp.h> -+#include <linux/sockios.h> - #include "terminal.h" - - #define NO_CAN_ID 0xFFFFFFFFU -diff --git a/slcanpty.c b/slcanpty.c -index 431ca68..7dfaf5c 100644 ---- a/slcanpty.c -+++ b/slcanpty.c -@@ -40,6 +40,7 @@ - - #include <linux/can.h> - #include <linux/can/raw.h> -+#include <linux/sockios.h> - - /* maximum rx buffer len: extended CAN frame with timestamp */ - #define SLC_MTU (sizeof("T1111222281122334455667788EA5F\r")+1)meta- renamed from meta-oe/recipes-extended/socketcan/can-utils_git.bb +0
-0oe/recipes-extended/socketcan/can-utils_git.bb
indexdb5055fed..e2609d411100644meta-oe/recipes-extended/socketcan/can-utils_git.bb +0
-1@@ -1,14 +1,13 @@ SUMMARY = "Linux CAN network development utilities" DESCRIPTION = "Linux CAN network development" LICENSE = "GPLv2 & BSD-3-Clause" -LIC_FILES_CHKSUM ="file://include/linux/can.h;endline=43;md5=390a2c9a3c5e3595a069ac14365 53ee7"
+LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86 fdd31"DEPENDS = "libsocketcan"
-SRC_URI = "
git://github.com/linux-
can/${BPN}.git;protocol=git;branch=master \meta-oe/recipes-extended/socketcan/can-utils_git.bb +1
-3- file://0001-fix-include-to-find-SIOCGSTAMP-with-latest-kernel.patch \ - " -SRCREV = "4c8fb05cb4d6ddcd67299008db54af423f86fd05" +SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git;branch=master"
meta-oe/recipes-extended/socketcan/can-utils_git.bb +2
-1+ +SRCREV = "665d8699ebe728bf48e63e8ae58d2482db72f954" PV = "0.0+gitr${SRCPV}" --2.25.0