commit:     aca4053c2ab810371595d844aa0cf8c6a7710eb7
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 12:23:22 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 12:23:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca4053c

dev-ros/resource_retriever: fix build with curl 7.50.0, bug #589424

Package-Manager: portage-2.3.0

 dev-ros/resource_retriever/files/curl.patch                | 14 ++++++++++++++
 .../resource_retriever/resource_retriever-1.12.2.ebuild    |  1 +
 2 files changed, 15 insertions(+)

diff --git a/dev-ros/resource_retriever/files/curl.patch 
b/dev-ros/resource_retriever/files/curl.patch
new file mode 100644
index 0000000..4717cc6
--- /dev/null
+++ b/dev-ros/resource_retriever/files/curl.patch
@@ -0,0 +1,14 @@
+Index: resource_retriever-1.12.2/include/resource_retriever/retriever.h
+===================================================================
+--- resource_retriever-1.12.2.orig/include/resource_retriever/retriever.h
++++ resource_retriever-1.12.2/include/resource_retriever/retriever.h
+@@ -32,8 +32,7 @@
+ #include <string>
+ #include <boost/shared_array.hpp>
+ #include <stdexcept>
+-
+-typedef void CURL;
++#include <curl/curl.h>
+ 
+ namespace resource_retriever
+ {

diff --git a/dev-ros/resource_retriever/resource_retriever-1.12.2.ebuild 
b/dev-ros/resource_retriever/resource_retriever-1.12.2.ebuild
index 0a3c590..798c403 100644
--- a/dev-ros/resource_retriever/resource_retriever-1.12.2.ebuild
+++ b/dev-ros/resource_retriever/resource_retriever-1.12.2.ebuild
@@ -22,3 +22,4 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        test? ( dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/curl.patch" )

Reply via email to