Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 19:43: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: r477200 - head/www/rubygem-passenger/files
Message-ID:  <201808141943.w7EJhetw090539@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Aug 14 19:43:40 2018
New Revision: 477200
URL: https://svnweb.freebsd.org/changeset/ports/477200

Log:
  www/rubygem-passenger: unbreak with libc++ 7
  
  In file included from src/agent/Watchdog/WatchdogMain.cpp:68:
  In file included from src/agent/Watchdog/Config.h:32:
  In file included from src/agent/Core/Config.h:47:
  In file included from src/agent/Core/AdminPanelConnector.h:43:
  In file included from src/cxx_supportlib/WebSocketCommandReverseServer.h:29:
  In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/config/asio_no_tls_client.hpp:32:
  In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/endpoint.hpp:32:
  In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/connection.hpp:31:
  In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/base.hpp:31:
  In file included from src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/asio.hpp:65:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio.hpp:23:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp:20:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp:40:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp:22:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp:27:
  In file included from src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp:25:
  /usr/include/c++/v1/experimental/string_view:11:2: error: "<experimental/string_view> has been removed. Use <string_view> instead."
  
  PR:		230401
  Reported by:	antoine (via exp-run)

Added:
  head/www/rubygem-passenger/files/patch-asio-libc++7   (contents, props changed)

Added: head/www/rubygem-passenger/files/patch-asio-libc++7
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rubygem-passenger/files/patch-asio-libc++7	Tue Aug 14 19:43:40 2018	(r477200)
@@ -0,0 +1,13 @@
+https://github.com/boostorg/asio/pull/135
+
+--- src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp.orig	2018-04-11 13:49:00 UTC
++++ src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp
+@@ -777,7 +777,7 @@
+ #if !defined(BOOST_ASIO_HAS_STD_STRING_VIEW)
+ # if !defined(BOOST_ASIO_DISABLE_STD_STRING_VIEW)
+ #  if defined(__clang__)
+-#   if (__cplusplus >= 201703)
++#   if defined(BOOST_ASIO_HAS_CLANG_LIBCXX) || (__cplusplus >= 201703)
+ #    if __has_include(<string_view>)
+ #     define BOOST_ASIO_HAS_STD_STRING_VIEW 1
+ #    endif // __has_include(<string_view>)



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