diff --git a/docker-builder-data/build/script/packet/qt-5.9.2.files/socketcanbackend.cpp.patch b/docker-builder-data/build/script/packet/qt-5.9.2.files/socketcanbackend.cpp.patch index d0ec26d..a3c40b6 100644 --- a/docker-builder-data/build/script/packet/qt-5.9.2.files/socketcanbackend.cpp.patch +++ b/docker-builder-data/build/script/packet/qt-5.9.2.files/socketcanbackend.cpp.patch @@ -1,3 +1,8 @@ -73a74,75 -> #define CANFD_BRS 0x01 -> #define CANFD_ESI 0x02 +76a77,83 +> #ifndef CANFD_BRS +> # define CANFD_BRS 0x01 /* bit rate switch (second bitrate for payload data) */ +> #endif +> #ifndef CANFD_ESI +> # define CANFD_ESI 0x02 /* error state indicator of the transmitting node */ +> #endif +>