rostime: use submitted patch for boost 1.67

This commit is contained in:
Lukas Bulwahn 2018-05-17 06:27:39 +02:00
parent af26ffda05
commit 1a3764984f
2 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,24 @@
From e5de3c20eb178683c78e225d00bf0f47c48895a5 Mon Sep 17 00:00:00 2001
From: Lukas Solanka <lsolanka@gmail.com>
Date: Tue, 17 Apr 2018 22:59:48 +0100
Subject: [PATCH] argument to boost microseconds must be integral
With Boost >= 1.67 compilation fails because now it requires the
constructor argument to be integral.
Upstream-Status: Submitted [https://github.com/ros/roscpp_core/pull/79]
This patch has been generated with:
`git pull https://github.com/lsolanka/roscpp_core.git pr.microseconds-integer && \
git format-patch -1 e5de3c20eb178683c78e225d00bf0f47c48895a5`
in the roscpp_core repository.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
rostime/include/ros/impl/duration.h | 2 +-
rostime/include/ros/impl/time.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rostime/include/ros/impl/duration.h b/rostime/include/ros/impl/duration.h
index 2ca2f5b..7ebd202 100644
--- a/rostime/include/ros/impl/duration.h
@ -24,3 +45,6 @@ index ec991e6..61b686c 100644
#endif
}
--
2.7.4

View File

@ -7,4 +7,4 @@ DEPENDS = "boost cpp-common"
require roscpp-core.inc
SRC_URI += "file://0001-remove-implicit-cast.patch;striplevel=2"
SRC_URI += "file://0001-argument-to-boost-microseconds-must-be-integral.patch;striplevel=2"