[mrpt] Added patches for eigen3 and pcl1.6

rmattes rmattes at fedoraproject.org
Wed Aug 22 02:15:10 UTC 2012


commit bc31b735cb944016bf861f266ca167c4c2c40902
Author: Rich Mattes <richmattes at gmail.com>
Date:   Tue Aug 21 22:15:01 2012 -0400

    Added patches for eigen3 and pcl1.6

 mrpt-0.9.6-eigen306.patch |   19 +++++++++++++++++++
 mrpt-0.9.6-pcl16.patch    |   24 ++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/mrpt-0.9.6-eigen306.patch b/mrpt-0.9.6-eigen306.patch
new file mode 100644
index 0000000..c34060f
--- /dev/null
+++ b/mrpt-0.9.6-eigen306.patch
@@ -0,0 +1,19 @@
+diff -up ./mrpt-0.9.6/libs/base/include/mrpt/math/eigen_plugins.h.eigen306 ./mrpt-0.9.6/libs/base/include/mrpt/math/eigen_plugins.h
+--- ./mrpt-0.9.6/libs/base/include/mrpt/math/eigen_plugins.h.eigen306	2012-08-20 20:43:26.741089478 -0400
++++ ./mrpt-0.9.6/libs/base/include/mrpt/math/eigen_plugins.h	2012-08-20 20:43:48.993922110 -0400
+@@ -25,7 +25,8 @@
+    |     along with MRPT.  If not, see <http://www.gnu.org/licenses/>.         |
+    |                                                                           |
+    +---------------------------------------------------------------------------+ */
+-
++#ifndef EIGEN_PLUGIN_H
++#define EIGEN_PLUGIN_H
+ // -------------------------------------------------------------------------
+ // Note: This file will be included within the body of Eigen::MatrixBase
+ // -------------------------------------------------------------------------
+@@ -862,4 +863,4 @@ public:
+ 			for (size_t dst_col_blk=0;dst_col_blk<N; ++dst_col_blk )
+ 				out.coeffRef(dst_row_blk,dst_col_blk) = this->coeff(indices[dst_row_blk],indices[dst_col_blk]);
+ 	}
+-
++#endif
diff --git a/mrpt-0.9.6-pcl16.patch b/mrpt-0.9.6-pcl16.patch
new file mode 100644
index 0000000..0f3c8fa
--- /dev/null
+++ b/mrpt-0.9.6-pcl16.patch
@@ -0,0 +1,24 @@
+diff -up ./mrpt-0.9.6/libs/maps/include/mrpt/maps.h.pcl16 ./mrpt-0.9.6/libs/maps/include/mrpt/maps.h
+--- ./mrpt-0.9.6/libs/maps/include/mrpt/maps.h.pcl16	2012-08-20 22:46:07.429892777 -0400
++++ ./mrpt-0.9.6/libs/maps/include/mrpt/maps.h	2012-08-21 21:46:03.886491638 -0400
+@@ -30,7 +30,7 @@
+ #define _mrpt_maps_H
+ 
+ #include <mrpt/config.h>
+-
++#include <cerrno>
+ // Only really include all headers if we come from a user program (anything
+ //  not defining mrpt_*_EXPORTS) or MRPT is being built with precompiled headers.
+ #if !defined(mrpt_maps_EXPORTS) || MRPT_ENABLE_PRECOMPILED_HDRS || defined(MRPT_ALWAYS_INCLUDE_ALL_HEADERS)
+diff -up ./mrpt-0.9.6/libs/maps/src/maps/CBeaconMap.cpp.pcl16 ./mrpt-0.9.6/libs/maps/src/maps/CBeaconMap.cpp
+--- ./mrpt-0.9.6/libs/maps/src/maps/CBeaconMap.cpp.pcl16	2012-08-20 23:01:58.643169529 -0400
++++ ./mrpt-0.9.6/libs/maps/src/maps/CBeaconMap.cpp	2012-08-21 21:46:18.299040726 -0400
+@@ -27,7 +27,7 @@
+    +---------------------------------------------------------------------------+ */
+ 
+ #include <mrpt/maps.h>  // Precompiled header
+-
++#include <cerrno>
+ 
+ 
+ #include <mrpt/slam/CBeaconMap.h>


More information about the scm-commits mailing list