meta-ros/recipes-ros/catkin/files
Dmitry Rozhkov b0be1fc475 catkin: relocate dependency's headers to current sysroot
If a package (A) depends on another package (B) and the package
B depends on Boost then it might happen that B produces BConfig.cmake
file where absolute paths to Boost's headers are put (because CMake's
standard FindBoost.cmake module reports absolute paths). In case of
Yocto it means that BConfig.cmake will contain something like
/path/to/build/tmp-glibc/work/i586/package_B/0.0.1/recipe-sysroot/usr/include.
The path may not exist at the moment when the package A is being built.
And that leads to the failure of the check this patch switches off.

The problem has been reported to catkin's issue tracker:
https://github.com/ros/catkin/issues/851

This patch "relocates" required headers from dependencies' sysroots
to the current sysroot by removing sysroot prefix from include dirs
in *Config.cmake files at the moment the files get created and
by prepending the include dirs again with the current sysroot prefix.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-22 16:40:33 +02:00
..
0001-CATKIN_WORKSPACES-Don-t-require-.catkin-file.patch catkin: split up catkin in order to reduce runtime dependencies 2015-03-02 13:22:06 +01:00
0001-avoid-using-host-s-paths-when-cross-compiling.patch catkin: avoid leaking host environment to sysroot when searching for libs 2017-02-22 16:28:15 +02:00
0001-relocate-dependency-s-headers-to-current-sysroot.patch catkin: relocate dependency's headers to current sysroot 2017-02-22 16:40:33 +02:00
0001-use-python-provided-by-environment-instead-of-the-ge.patch catkin: patch _setup_util.py.in to address #384 2016-06-01 11:36:37 +02:00