diff -Nru ros-catkin-pkg-0.5.2/debian/changelog ros-catkin-pkg-0.5.2/debian/changelog --- ros-catkin-pkg-0.5.2/debian/changelog 2022-12-10 07:18:55.000000000 +0000 +++ ros-catkin-pkg-0.5.2/debian/changelog 2023-02-12 08:25:10.000000000 +0000 @@ -1,3 +1,10 @@ +ros-catkin-pkg (0.5.2-5) unstable; urgency=medium + + [ Johannes Rothe ] + * Patch for github issue #351 + + -- Jochen Sprickerhof Sun, 12 Feb 2023 09:25:10 +0100 + ros-catkin-pkg (0.5.2-4) unstable; urgency=medium * Enable autopkgtest-pkg-pybuild diff -Nru ros-catkin-pkg-0.5.2/debian/patches/0003-github-351.diff ros-catkin-pkg-0.5.2/debian/patches/0003-github-351.diff --- ros-catkin-pkg-0.5.2/debian/patches/0003-github-351.diff 1970-01-01 00:00:00.000000000 +0000 +++ ros-catkin-pkg-0.5.2/debian/patches/0003-github-351.diff 2023-02-12 08:24:54.000000000 +0000 @@ -0,0 +1,13 @@ +Index: ros-catkin-pkg/src/catkin_pkg/cli/tag_changelog.py +=================================================================== +--- ros-catkin-pkg.orig/src/catkin_pkg/cli/tag_changelog.py ++++ ros-catkin-pkg/src/catkin_pkg/cli/tag_changelog.py +@@ -28,7 +28,7 @@ def get_forthcoming_label(rst): + if len(section.children) > 0 and isinstance(section.children[0], docutils.nodes.title): + title = section.children[0] + if title and len(title.children) > 0 and isinstance(title.children[0], docutils.nodes.Text): +- title_text = title.children[0].rawsource ++ title_text = title.children[0] + if FORTHCOMING_LABEL.lower() in title_text.lower(): + if forthcoming_label: + raise RuntimeError('Found multiple forthcoming sections') diff -Nru ros-catkin-pkg-0.5.2/debian/patches/series ros-catkin-pkg-0.5.2/debian/patches/series --- ros-catkin-pkg-0.5.2/debian/patches/series 2022-10-04 05:51:27.000000000 +0000 +++ ros-catkin-pkg-0.5.2/debian/patches/series 2023-02-12 08:24:54.000000000 +0000 @@ -1,2 +1,3 @@ 0001-Set-default-ROS_DISTRO-to-debian.patch 0002-Limit-search-depth-in-usr-share.patch +0003-github-351.diff