Debian Codegraph @

debian/patches/0001-configure.ac-Patch-out-ros-stuff.patch

raw
1 From: Boyuan Yang <[email protected]>
2 Date: Wed, 27 Dec 2023 19:11:20 -0500
3 Subject: configure.ac: Patch out ros stuff
4
5 Otherwise dh_autoreconf will fail when ros/ directory is missing.
6 ---
7 configure.ac | 19 ++++++++++---------
8 1 file changed, 10 insertions(+), 9 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index 856b541..8f1b664 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -388,19 +388,20 @@ AM_CONDITIONAL([DEB_PACKAGE], [false])
15
16 fi
17
18 -AC_MSG_CHECKING([whether to build ROS Toolchain])
19 -AC_ARG_WITH([ros])
20 +#AC_MSG_CHECKING([whether to build ROS Toolchain])
21 +#AC_ARG_WITH([ros])
22 ROS_SUBDIR=""
23 -AS_IF([test "x$with_ros" = "xyes"], [ROS_SUBDIR="ros"], [with_ros=no])
24 +#AS_IF([test "x$with_ros" = "xyes"], [ROS_SUBDIR="ros"], [with_ros=no])
25 +with_ros=no
26 AC_MSG_RESULT([$with_ros])
27
28 # if ROS is to be compiled
29 -if test "x$with_ros" = "xyes" ; then
30 - AC_CONFIG_FILES(ros/Makefile)
31 - AC_CONFIG_FILES(ros/adapters/Makefile)
32 - AC_CONFIG_FILES(ros/encoder/Makefile)
33 - AC_CONFIG_FILES(ros/decoder/Makefile)
34 -fi
35 +#if test "x$with_ros" = "xyes" ; then
36 +# AC_CONFIG_FILES(ros/Makefile)
37 +# AC_CONFIG_FILES(ros/adapters/Makefile)
38 +# AC_CONFIG_FILES(ros/encoder/Makefile)
39 +# AC_CONFIG_FILES(ros/decoder/Makefile)
40 +#fi
41
42 AC_SUBST([HAVE_PYTHON])
43 AC_SUBST([MUSICCONFIGDIR])