diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-08-15 03:43:19 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-08-15 03:43:19 +0800 |
commit | 9af3c8880e23196917c013975b4d5b7c3e396a7f (patch) | |
tree | 81c36e64b99c5d3a1feebb63a986b88d6eb50bbb /emulators | |
parent | e907009d3735655d69e1a61a0a3f34e33b5984f5 (diff) | |
download | freebsd-ports-gnome-9af3c8880e23196917c013975b4d5b7c3e396a7f.tar.gz freebsd-ports-gnome-9af3c8880e23196917c013975b4d5b7c3e396a7f.tar.zst freebsd-ports-gnome-9af3c8880e23196917c013975b4d5b7c3e396a7f.zip |
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)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mame/files/patch-asio-libc++7 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/mame/files/patch-asio-libc++7 b/emulators/mame/files/patch-asio-libc++7 new file mode 100644 index 000000000000..9ab9c5afa577 --- /dev/null +++ b/emulators/mame/files/patch-asio-libc++7 @@ -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) |