Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 12:31:40 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476640 - in head/databases/mongodb36: . files
Message-ID:  <201808081231.w78CVeXY046500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Aug  8 12:31:40 2018
New Revision: 476640
URL: https://svnweb.freebsd.org/changeset/ports/476640

Log:
  databases/mongodb36: unbreak with libc++ 7
  
  In file included from src/third_party/asio-master/asio/src/asio.cpp:11:
  In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:44:
  In file included from src/third_party/asio-master/asio/include/asio/detail/impl/reactive_descriptor_service.ipp:25:
  In file included from src/third_party/asio-master/asio/include/asio/detail/reactive_descriptor_service.hpp:24:
  In file included from src/third_party/asio-master/asio/include/asio/buffer.hpp:27:
  In file included from src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:23:
  /usr/include/c++/v1/experimental/string_view:11:2: error: "<experimental/string_view> has been removed. Use <string_view> instead."
  
  PR:		230401

Added:
  head/databases/mongodb36/files/patch-asio-libc++7   (contents, props changed)
Modified:
  head/databases/mongodb36/Makefile   (contents, props changed)

Modified: head/databases/mongodb36/Makefile
==============================================================================
--- head/databases/mongodb36/Makefile	Wed Aug  8 12:26:27 2018	(r476639)
+++ head/databases/mongodb36/Makefile	Wed Aug  8 12:31:40 2018	(r476640)
@@ -3,6 +3,7 @@
 PORTNAME=	mongodb
 DISTVERSIONPREFIX=	r
 DISTVERSION=	3.6.6
+PORTREVISION=	1
 CATEGORIES=	databases net
 MASTER_SITES=	https://fastdl.mongodb.org/src/ \
 		http://fastdl.mongodb.org/src/ \

Added: head/databases/mongodb36/files/patch-asio-libc++7
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mongodb36/files/patch-asio-libc++7	Wed Aug  8 12:31:40 2018	(r476640)
@@ -0,0 +1,15 @@
+https://github.com/boostorg/asio/commit/b5b17a67f0aa29f5156324d5e8a73dd8669a5a51
+
+--- src/third_party/asio-master/asio/include/asio/detail/config.hpp.orig	2018-07-03 21:09:33 UTC
++++ src/third_party/asio-master/asio/include/asio/detail/config.hpp
+@@ -784,8 +784,9 @@
+ # if !defined(ASIO_DISABLE_STD_STRING_VIEW)
+ #  if defined(__clang__)
+ #   if (__cplusplus >= 201402)
+-#    if __has_include(<experimental/string_view>)
++#    if __has_include(<string_view>)
+ #     define ASIO_HAS_STD_STRING_VIEW 1
++#    elif __has_include(<experimental/string_view>)
+ #     define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
+ #    endif // __has_include(<experimental/string_view>)
+ #   endif // (__cplusplus >= 201402)



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