add boost-std-configuration.patch to automate the workaround
Signed-off-by: Tinker <Tinker@306>
This commit is contained in:
parent
e4135a51be
commit
cee7cd3f82
6
boost-std-configuration.patch
Normal file
6
boost-std-configuration.patch
Normal file
@ -0,0 +1,6 @@
|
||||
4,5c4,5
|
||||
< #define STD_SHARED_MUTEX_FOUND 1
|
||||
< #define Boost_SHARED_MUTEX_FOUND 0
|
||||
---
|
||||
> #define STD_SHARED_MUTEX_FOUND 0
|
||||
> #define Boost_SHARED_MUTEX_FOUND 1
|
||||
@ -1,12 +1,16 @@
|
||||
#!/bin/bash
|
||||
INPUT="${1:-packages.txt}"
|
||||
# import all repos
|
||||
mkdir -p src
|
||||
while read p; do
|
||||
echo "importing $p"
|
||||
rosinstall_generator $p --rosdistro noetic --deps --tar | vcs import src
|
||||
done < $INPUT
|
||||
|
||||
# patch log4cxx
|
||||
sudo patch -N -r - /usr/include/log4cxx/boost-std-configuration.h boost-std-configuration.patch > /dev/null
|
||||
# checkout rosconsole special branch
|
||||
[ ! -f noetic-2204.tar.gz ] && wget https://github.com/tinkerfuroc/rosconsole/archive/refs/tags/noetic-2204.tar.gz
|
||||
tar zxf noetic-2204.tar.gz
|
||||
cp -r rosconsole-noetic-2204/* src/rosconsole/
|
||||
rm -rf rosconsole-noetic-2204
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user