diff --git a/0-sick-safetydcanners-base-fix-forget-include-map.patch b/0-sick-safetydcanners-base-fix-forget-include-map.patch new file mode 100644 index 0000000000000000000000000000000000000000..3a1947abc022b4bae7a036b90229e17ab44a63b6 --- /dev/null +++ b/0-sick-safetydcanners-base-fix-forget-include-map.patch @@ -0,0 +1,24 @@ +From a0d44100b674b038a179971101fdad66a3ec51d1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E5=A4=A9=E5=AE=87?= <1420098499@qq.com> +Date: Tue, 20 Jun 2023 12:51:13 +0800 +Subject: [PATCH] update + +--- + .../sick_safetyscanners_base/data_processing/UDPPacketMerger.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/sick_safetyscanners_base/data_processing/UDPPacketMerger.h b/include/sick_safetyscanners_base/data_processing/UDPPacketMerger.h +index b14d925..5cde02c 100644 +--- a/include/sick_safetyscanners_base/data_processing/UDPPacketMerger.h ++++ b/include/sick_safetyscanners_base/data_processing/UDPPacketMerger.h +@@ -40,6 +40,7 @@ + + #include "sick_safetyscanners_base/data_processing/ParseDatagramHeader.h" + ++#include + #include + #include + +-- +2.41.0 + diff --git a/sick-safetyscanners-base.spec b/sick-safetyscanners-base.spec index f62aaee8faa7de8c53fc32f5325b0e1493b63ad4..f5c4a8086da2e4b31498a91a44dd03affaeda073 100644 --- a/sick-safetyscanners-base.spec +++ b/sick-safetyscanners-base.spec @@ -15,6 +15,8 @@ Summary: ROS sick-safetyscanners-base package License: ALv2 Source0: %{name}_%{version}.orig.tar.gz +Patch0: 0-sick-safetydcanners-base-fix-forget-include-map.patch + Requires: boost-devel Requires: ros-%{ros_distro}-ros-workspace