[ros-pluginlib] 01/01: Add patch for default path

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Nov 30 18:15:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to branch master
in repository ros-pluginlib.

commit 70b0fbe2b5dec54d96d7ce70a0557b002009fabd
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Nov 30 18:46:53 2015 +0100

    Add patch for default path
---
 debian/patches/0001-Add-default-plugin-path.patch | 20 ++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/0001-Add-default-plugin-path.patch b/debian/patches/0001-Add-default-plugin-path.patch
new file mode 100644
index 0000000..916993b
--- /dev/null
+++ b/debian/patches/0001-Add-default-plugin-path.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 30 Nov 2015 18:45:18 +0100
+Subject: Add default plugin path
+
+---
+ include/pluginlib/class_loader_imp.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/pluginlib/class_loader_imp.h b/include/pluginlib/class_loader_imp.h
+index 9d9543c..38f1db5 100644
+--- a/include/pluginlib/class_loader_imp.h
++++ b/include/pluginlib/class_loader_imp.h
+@@ -247,6 +247,7 @@ namespace pluginlib
+     std::vector<std::string> all_paths;
+     std::vector<std::string> all_paths_without_extension = getCatkinLibraryPaths();
+     all_paths_without_extension.push_back(getROSBuildLibraryPath(exporting_package_name));
++    all_paths_without_extension.push_back("/usr/lib/" + exporting_package_name);
+     bool debug_library_suffix = (class_loader::systemLibrarySuffix().compare(0, 1, "d") == 0);
+     std::string non_debug_suffix;
+     if(debug_library_suffix) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..139908b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-default-plugin-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-pluginlib.git



More information about the debian-science-commits mailing list