Skip to content

Commit

Permalink
Merge branch 'master' into travis
Browse files Browse the repository at this point in the history
  • Loading branch information
RGPaul committed Dec 11, 2018
2 parents 33a81ae + 3f096b1 commit d83ab1a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ case "$NDK_RN" in
CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/arm-linux-androideabi-g++
TOOLSET=gcc-androidR8e
;;
"16.0"|"16.1"|"17.1"|"17.2"|"18.0")
"16.0"|"16.1"|"17.1"|"17.2"|"18.0"|"18.1")
TOOLCHAIN=${TOOLCHAIN:-llvm}
CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/clang++
TOOLSET=clang
Expand All @@ -314,7 +314,7 @@ if [ -z "${ARCHLIST}" ]; then

case "$NDK_RN" in
# NDK 17+: Support for ARMv5 (armeabi), MIPS, and MIPS64 has been removed.
"17.1"|"17.2"|"18.0")
"17.1"|"17.2"|"18.0"|"18.1")
ARCHLIST="arm64-v8a armeabi-v7a x86 x86_64"
;;
*)
Expand Down
32 changes: 24 additions & 8 deletions patches/boost-1_67_0/boost-1_67_0.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
diff -u -r boost_1_67_0.orig/boost/asio/detail/config.hpp boost_1_67_0/boost/asio/detail/config.hpp
--- boost_1_67_0.orig/boost/asio/detail/config.hpp 2018-10-08 16:04:37.000000000 -0400
+++ boost_1_67_0/boost/asio/detail/config.hpp 2018-10-08 16:08:24.000000000 -0400
@@ -804,7 +804,11 @@
# if defined(__clang__)
# if (__cplusplus >= 201402)
# if __has_include(<experimental/string_view>)
-# define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
+# if __clang_major__ >= 7
+# undef BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW
+# else
+# define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
+# endif // __clang_major__ >= 7
# endif // __has_include(<experimental/string_view>)
# endif // (__cplusplus >= 201402)
# endif // defined(__clang__)
diff -u -r boost_1_67_0.orig/boost/config/user.hpp boost_1_67_0/boost/config/user.hpp
--- boost_1_67_0.orig/boost/config/user.hpp 2018-04-27 17:32:47.000000000 -0400
+++ boost_1_67_0/boost/config/user.hpp 2018-04-27 17:34:24.000000000 -0400
--- boost_1_67_0.orig/boost/config/user.hpp 2018-10-08 16:04:36.000000000 -0400
+++ boost_1_67_0/boost/config/user.hpp 2018-10-08 16:06:05.000000000 -0400
@@ -13,6 +13,12 @@
// configuration policy:
//
Expand All @@ -15,8 +31,8 @@ diff -u -r boost_1_67_0.orig/boost/config/user.hpp boost_1_67_0/boost/config/use
// #define BOOST_COMPILER_CONFIG <myheader>

diff -u -r boost_1_67_0.orig/boost/system/error_code.hpp boost_1_67_0/boost/system/error_code.hpp
--- boost_1_67_0.orig/boost/system/error_code.hpp 2018-04-27 17:32:49.000000000 -0400
+++ boost_1_67_0/boost/system/error_code.hpp 2018-04-27 17:34:24.000000000 -0400
--- boost_1_67_0.orig/boost/system/error_code.hpp 2018-10-08 16:04:38.000000000 -0400
+++ boost_1_67_0/boost/system/error_code.hpp 2018-10-08 16:06:05.000000000 -0400
@@ -17,6 +17,7 @@
#include <boost/assert.hpp>
#include <boost/noncopyable.hpp>
Expand All @@ -26,8 +42,8 @@ diff -u -r boost_1_67_0.orig/boost/system/error_code.hpp boost_1_67_0/boost/syst
#include <string>
#include <stdexcept>
diff -u -r boost_1_67_0.orig/boost/thread/detail/config.hpp boost_1_67_0/boost/thread/detail/config.hpp
--- boost_1_67_0.orig/boost/thread/detail/config.hpp 2018-04-27 17:32:52.000000000 -0400
+++ boost_1_67_0/boost/thread/detail/config.hpp 2018-04-27 17:36:44.000000000 -0400
--- boost_1_67_0.orig/boost/thread/detail/config.hpp 2018-10-08 16:04:40.000000000 -0400
+++ boost_1_67_0/boost/thread/detail/config.hpp 2018-10-08 16:06:05.000000000 -0400
@@ -417,6 +417,11 @@
#define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO
#elif defined(BOOST_THREAD_CHRONO_MAC_API)
Expand All @@ -41,8 +57,8 @@ diff -u -r boost_1_67_0.orig/boost/thread/detail/config.hpp boost_1_67_0/boost/t
#include <time.h> // check for CLOCK_MONOTONIC
#if defined(CLOCK_MONOTONIC)
diff -u -r boost_1_67_0.orig/libs/filesystem/src/operations.cpp boost_1_67_0/libs/filesystem/src/operations.cpp
--- boost_1_67_0.orig/libs/filesystem/src/operations.cpp 2018-04-27 17:33:02.000000000 -0400
+++ boost_1_67_0/libs/filesystem/src/operations.cpp 2018-04-27 17:34:24.000000000 -0400
--- boost_1_67_0.orig/libs/filesystem/src/operations.cpp 2018-10-08 16:04:50.000000000 -0400
+++ boost_1_67_0/libs/filesystem/src/operations.cpp 2018-10-08 16:06:05.000000000 -0400
@@ -207,6 +207,21 @@

# if defined(BOOST_POSIX_API)
Expand Down

0 comments on commit d83ab1a

Please sign in to comment.