From e6132b5bfa53b2a46d2a3aeee8070e12143dbc9c Mon Sep 17 00:00:00 2001
From: Justin Carpentier <jcarpent@laas.fr>
Date: Sun, 11 Jun 2017 22:57:12 +0200
Subject: [PATCH] [wip/pinocchio] Fix minor bug in SRDF

---
 pinocchio/Makefile         |  1 +
 pinocchio/distinfo         |  1 +
 pinocchio/patches/patch-aa | 12 ++++++++++++
 3 files changed, 14 insertions(+)
 create mode 100644 pinocchio/patches/patch-aa

diff --git a/pinocchio/Makefile b/pinocchio/Makefile
index ca8b59e5..aa81bca4 100644
--- a/pinocchio/Makefile
+++ b/pinocchio/Makefile
@@ -12,6 +12,7 @@ MAINTAINER=		gepetto@laas.fr
 CATEGORIES=		math
 COMMENT=		Efficient rigid body dynamics
 LICENSE=		gnu-lgpl-v3
+PKGREVISION=  1
 
 # parallel builds would consume all memory because of the g++ process size
 MAKE_JOBS_SAFE=		no
diff --git a/pinocchio/distinfo b/pinocchio/distinfo
index fb9e12e2..cf01e33f 100644
--- a/pinocchio/distinfo
+++ b/pinocchio/distinfo
@@ -1,3 +1,4 @@
 SHA1 (pinocchio-1.2.4.tar.gz) = 37c966e31fff360d07936012094ff5d53df5fa2c
 RMD160 (pinocchio-1.2.4.tar.gz) = d47b71bbfaf05e6f254781915ff1a0f005a27f25
 Size (pinocchio-1.2.4.tar.gz) = 8992990 bytes
+SHA1 (patch-aa) = ef0ea5662acf1b226fee7232d6bbcc4fdae3abd9
diff --git a/pinocchio/patches/patch-aa b/pinocchio/patches/patch-aa
new file mode 100644
index 00000000..6e92e72d
--- /dev/null
+++ b/pinocchio/patches/patch-aa
@@ -0,0 +1,12 @@
+diff --git src/parsers/srdf.hpp src/parsers/srdf.hpp
+index 85eb102..34b2af4 100644
+--- src/parsers/srdf.hpp
++++ src/parsers/srdf.hpp
+@@ -19,6 +19,7 @@
+ #define __se3_parser_srdf_hpp__
+ 
+ #include "pinocchio/multibody/model.hpp"
++#include "pinocchio/multibody/geometry.hpp"
+ #include <iostream>
+ 
+ // Read XML file with boost
-- 
GitLab