From 0d93ed3ed9d0c6e4fc910e92a38f9c27a491b8b8 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Thu, 12 Sep 2019 16:00:05 +0200 Subject: [PATCH] [wip/jrl-walkgen-v3] add patch to fix compilation with recent pinocchio While here, use jrl-cmakemodules/Makefile.common --- jrl-walkgen-v3/Makefile | 12 +----------- jrl-walkgen-v3/distinfo | 1 + jrl-walkgen-v3/patches/patch-aa | 12 ++++++++++++ 3 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 jrl-walkgen-v3/patches/patch-aa diff --git a/jrl-walkgen-v3/Makefile b/jrl-walkgen-v3/Makefile index d46a3c17..ac41c004 100644 --- a/jrl-walkgen-v3/Makefile +++ b/jrl-walkgen-v3/Makefile @@ -7,13 +7,8 @@ NAME= jrl-walkgen VERSION= 4.2.0 PKGREVISION= 1 -DISTNAME= ${NAME}-${VERSION} PKGNAME= ${NAME}-v3-${VERSION} -MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=${NAME}/} -MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}.git -CHECKOUT_VCS_OPTS+= --recursive - CATEGORIES= wip COMMENT= Walk pattern generator for the HRP-2 humanoid robot. LICENSE= 2-clause-bsd @@ -21,12 +16,7 @@ MAINTAINER= gepetto-soft@laas.fr CONFLICTS+= ${NAME} -CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=lib - -DYNAMIC_PLIST_DIRS+= share/doc/${NAME} - -DEPEND_ABI.pinocchio= pinocchio>2 - +include ../../wip/jrl-cmakemodules/Makefile.common include ../../graphics/simple-humanoid-description/depend.mk include ../../math/pinocchio/depend.mk include ../../mk/sysdep/cmake.mk diff --git a/jrl-walkgen-v3/distinfo b/jrl-walkgen-v3/distinfo index b837ccb6..8c4ae1f4 100644 --- a/jrl-walkgen-v3/distinfo +++ b/jrl-walkgen-v3/distinfo @@ -1,3 +1,4 @@ SHA1 (jrl-walkgen-4.2.0.tar.gz) = 94e2bbd57f17fbe4af110c53026ca56fd3261a49 RMD160 (jrl-walkgen-4.2.0.tar.gz) = c2897d2322906e8aa80842b48fea4204c4edc607 Size (jrl-walkgen-4.2.0.tar.gz) = 15500455 bytes +SHA1 (patch-aa) = 4d002ea5167ee0965be69e88396d0fab44a9457c diff --git a/jrl-walkgen-v3/patches/patch-aa b/jrl-walkgen-v3/patches/patch-aa new file mode 100644 index 00000000..e79cdeab --- /dev/null +++ b/jrl-walkgen-v3/patches/patch-aa @@ -0,0 +1,12 @@ +--- tests/TestObject.cpp.orig 2019-07-29 10:33:00.000000000 +0200 ++++ tests/TestObject.cpp 2019-09-12 15:54:26.363661314 +0200 +@@ -29,6 +29,9 @@ + // System include for floating point errors + #include <fenv.h> + ++// Include Pinocchio before boost ++#include <pinocchio/fwd.hpp> ++ + // Boost includes to parse XML files + #include <boost/property_tree/ptree.hpp> + #include <boost/property_tree/xml_parser.hpp> -- GitLab