Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 18:13:47 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516918 - in head/sysutils/apache-mesos: . files
Message-ID:  <201911061813.xA6IDlms000862@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Wed Nov  6 18:13:47 2019
New Revision: 516918
URL: https://svnweb.freebsd.org/changeset/ports/516918

Log:
  Add a new patch for fixing a namespace change in gprc.
  
  Bumped Makefile 'PORTREVISION' and removed 'BROKEN'
  
  PR:		241717
  Submitted by:	James Wright <james.wright@digital-chaos.com> (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D22238

Added:
  head/sysutils/apache-mesos/files/patch-3rdparty_libprocess_include_process_grpc.hpp   (contents, props changed)
Modified:
  head/sysutils/apache-mesos/Makefile

Modified: head/sysutils/apache-mesos/Makefile
==============================================================================
--- head/sysutils/apache-mesos/Makefile	Wed Nov  6 18:09:44 2019	(r516917)
+++ head/sysutils/apache-mesos/Makefile	Wed Nov  6 18:13:47 2019	(r516918)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mesos
 PORTVERSION=	1.9.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	APACHE/mesos/${PORTVERSION}
 PKGNAMEPREFIX=	apache-
@@ -12,7 +13,6 @@ COMMENT=	Cluster manager providing resource isolation 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to build
 IGNORE_FreeBSD_11=	does not build
 
 BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \

Added: head/sysutils/apache-mesos/files/patch-3rdparty_libprocess_include_process_grpc.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/apache-mesos/files/patch-3rdparty_libprocess_include_process_grpc.hpp	Wed Nov  6 18:13:47 2019	(r516918)
@@ -0,0 +1,20 @@
+--- 3rdparty/libprocess/include/process/grpc.hpp.orig	2019-11-04 22:31:46 UTC
++++ 3rdparty/libprocess/include/process/grpc.hpp
+@@ -90,7 +90,7 @@ struct MethodTraits; // Undefined.
+ 
+ template <typename Stub, typename Request, typename Response>
+ struct MethodTraits<
+-    std::unique_ptr<::grpc::ClientAsyncResponseReader<Response>>(Stub::*)(
++    std::unique_ptr<::grpc_impl::ClientAsyncResponseReader<Response>>(Stub::*)(
+         ::grpc::ClientContext*,
+         const Request&,
+         ::grpc::CompletionQueue*)>
+@@ -235,7 +235,7 @@ class Runtime (public)
+           std::shared_ptr<Response> response(new Response());
+           std::shared_ptr<::grpc::Status> status(new ::grpc::Status());
+ 
+-          std::shared_ptr<::grpc::ClientAsyncResponseReader<Response>> reader =
++          std::shared_ptr<::grpc_impl::ClientAsyncResponseReader<Response>> reader =
+             (typename internal::MethodTraits<Method>::stub_type(
+                 connection.channel).*method)(context.get(), request, queue);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911061813.xA6IDlms000862>