From 8a5d56eddc2f1d8dccc9a34d33d0a9e49e9b14d7 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Wed, 21 Aug 2019 13:50:55 +0200
Subject: [PATCH] [wip/hpp-rpbrm] Add patch-aa

to include pinocchio before boost
---
 hpp-rbprm/distinfo         |  1 +
 hpp-rbprm/patches/patch-aa | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 hpp-rbprm/patches/patch-aa

diff --git a/hpp-rbprm/distinfo b/hpp-rbprm/distinfo
index 801b08d6..c5e97b21 100644
--- a/hpp-rbprm/distinfo
+++ b/hpp-rbprm/distinfo
@@ -1,3 +1,4 @@
 SHA1 (hpp-rbprm-4.6.0.tar.gz) = 1e3fb3824339b452148edc3ffed908ff24ffd780
 RMD160 (hpp-rbprm-4.6.0.tar.gz) = 947f18b705ca397801dfadc221a0c7d5c5ddd6cb
 Size (hpp-rbprm-4.6.0.tar.gz) = 1233157 bytes
+SHA1 (patch-aa) = 4dc13a6bc53de45ad0190e8b953059b085c9924d
diff --git a/hpp-rbprm/patches/patch-aa b/hpp-rbprm/patches/patch-aa
new file mode 100644
index 00000000..ac20ca70
--- /dev/null
+++ b/hpp-rbprm/patches/patch-aa
@@ -0,0 +1,38 @@
+include pinocchio before boost, ref
+https://github.com/stack-of-tasks/pinocchio/issues/849
+
+--- src/utils/algorithms.cc.orig	2019-05-29 17:04:49.000000000 +0200
++++ src/utils/algorithms.cc	2019-08-21 13:47:38.987440983 +0200
+@@ -1,3 +1,4 @@
++#include <pinocchio/fwd.hpp>
+ #include "hpp/rbprm/utils/algorithms.h"
+ #include <hpp/fcl/intersect.h>
+ #include <hpp/util/debug.hh>
+--- tests/test-rbrrt.cc.orig	2019-05-29 17:04:49.000000000 +0200
++++ tests/test-rbrrt.cc	2019-08-21 13:48:38.358849918 +0200
+@@ -18,6 +18,7 @@
+ 
+ 
+ #define BOOST_TEST_MODULE test-rbrrt
++#include <pinocchio/fwd.hpp>
+ #include <boost/test/included/unit_test.hpp>
+ 
+ #include <hpp/core/problem-solver.hh>
+--- tests/test-projection.cc.orig	2019-05-29 17:04:49.000000000 +0200
++++ tests/test-projection.cc	2019-08-21 13:49:20.094435386 +0200
+@@ -1,4 +1,5 @@
+ #define BOOST_TEST_MODULE test-projection
++#include <pinocchio/fwd.hpp>
+ #include <boost/test/included/unit_test.hpp>
+ 
+ #include "tools-fullbody.hh"
+--- tests/test-kinodynamic.cc.orig	2019-05-29 17:04:49.000000000 +0200
++++ tests/test-kinodynamic.cc	2019-08-21 13:49:57.286066627 +0200
+@@ -18,6 +18,7 @@
+ 
+ 
+ #define BOOST_TEST_MODULE test-kinodynamic
++#include <pinocchio/fwd.hpp>
+ #include <boost/test/included/unit_test.hpp>
+ 
+ #include <hpp/core/problem-solver.hh>
-- 
GitLab