Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 19:43:19 +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: r477199 - head/emulators/mame/files
Message-ID:  <201808141943.w7EJhJEt090398@repo.freebsd.org>

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

Log:
  emulators/mame: unbreak with libc++ 7
  
  In file included from ../../../../../src/emu/http.cpp:12:
  In file included from ../../../../../src/lib/util/server_ws_impl.hpp:8:
  In file included from ../../../../../src/osd/asio.h:34:
  In file included from ../../../../../3rdparty/asio/include/asio.hpp:21:
  In file included from ../../../../../3rdparty/asio/include/asio/basic_datagram_socket.hpp:20:
  In file included from ../../../../../3rdparty/asio/include/asio/basic_socket.hpp:40:
  In file included from ../../../../../3rdparty/asio/include/asio/detail/reactive_socket_service.hpp:22:
  In file included from ../../../../../3rdparty/asio/include/asio/buffer.hpp:27:
  In file included from ../../../../../3rdparty/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
  Reported by:	antoine (via exp-run)

Added:
  head/emulators/mame/files/patch-asio-libc++7   (contents, props changed)

Added: head/emulators/mame/files/patch-asio-libc++7
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/mame/files/patch-asio-libc++7	Tue Aug 14 19:43:19 2018	(r477199)
@@ -0,0 +1,15 @@
+https://github.com/boostorg/asio/commit/b5b17a67f0aa29f5156324d5e8a73dd8669a5a51
+
+--- 3rdparty/asio/include/asio/detail/config.hpp.orig	2018-07-24 19:45:05 UTC
++++ 3rdparty/asio/include/asio/detail/config.hpp
+@@ -708,8 +708,9 @@
+ # if !defined(ASIO_DISABLE_STD_STRING_VIEW)
+ #  if defined(__clang__)
+ #   if (__cplusplus >= 201103)
+-#    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 >= 201103)



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