From 596b8cc193b9147d7f96f1b41ac0dc59391f9a5b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 28 Mar 2026 06:52:55 +0000 Subject: automatic import of nav2-waypoint-follower --- nav2-waypoint-follower.spec | 3 ++- ...umble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch diff --git a/nav2-waypoint-follower.spec b/nav2-waypoint-follower.spec index 8fb395d..6f044b2 100644 --- a/nav2-waypoint-follower.spec +++ b/nav2-waypoint-follower.spec @@ -16,6 +16,7 @@ Summary: A waypoint follower navigation server License: Apache-2.0 Source0: %{RosPkgName}-%{version}.tar.gz +Patch0: ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch Requires: ros-%{ros_distro}-nav2-common Requires: ros-%{ros_distro}-cv-bridge @@ -61,7 +62,7 @@ Provides: %{name}-runtime = %{version}-%{release} A waypoint follower navigation server %prep -%autosetup -c -n %{name}-%{version} +%autosetup -c -n %{name}-%{version} -p1 %build # Needed to bootstrap since the ros_workspace package does not yet exist. diff --git a/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch b/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch new file mode 100644 index 0000000..55d3ee1 --- /dev/null +++ b/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch @@ -0,0 +1,12 @@ +diff -Naur nav2-waypoint-follower-1.1.20_orig/plugins/input_at_waypoint.cpp nav2-waypoint-follower-1.1.20/plugins/input_at_waypoint.cpp +--- nav2-waypoint-follower-1.1.20_orig/plugins/input_at_waypoint.cpp 2024-01-01 00:00:00.000000000 +0800 ++++ nav2-waypoint-follower-1.1.20/plugins/input_at_waypoint.cpp 2024-01-01 00:00:00.000000000 +0800 +@@ -49,7 +49,7 @@ + { + std::string input_topic; + std::string message_type; +- double timeout; ++ double timeout = 10.0; + + getInput("input_topic", input_topic); + getInput("message_type", message_type); -- cgit v1.2.3