[anyrpc] Updated to latest commit (#9682)

* [anyrpc] Updated to latest commit

Updated to latest commit and removed patch, as it
is no longer needed.

* [anyrpc] Updated to latest commit

Removed deprecated `include(vcpkg_common_functions)`.
This commit is contained in:
Falko Axmann 2020-01-22 21:37:57 +01:00 committed by Victor Romero
parent 7dc2a4ca9b
commit 6d8b6b1bbf
3 changed files with 3 additions and 22 deletions

View File

@ -1,4 +1,4 @@
Source: anyrpc
Version: 2017-12-01-1
Version: 2020-01-13-1
Homepage: https://github.com/sgieseking/anyrpc
Description: A multiprotocol remote procedure call system for C++.

View File

@ -1,16 +0,0 @@
diff --git a/include/anyrpc/api.h b/include/anyrpc/api.h
index a67fa32..e7d74ad 100644
--- a/include/anyrpc/api.h
+++ b/include/anyrpc/api.h
@@ -158,9 +158,9 @@ typedef int socklen_t;
# elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)
# define ANYRPC_ENDIAN ANYRPC_BIGENDIAN
// Detect with architecture macros
-# elif defined(__sparc) || defined(__sparc__) || defined(_POWER) || defined(__powerpc__) || defined(__ppc__) || defined(__hpux) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER) || defined(__s390__)
+# elif defined(__sparc) || defined(__sparc__) || defined(_POWER) || defined(__powerpc__) || defined(__ppc__) || defined(__hpux) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER) || defined(__s390__) || defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__)
# define ANYRPC_ENDIAN ANYRPC_BIGENDIAN
-# elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || defined(_M_ALPHA) || defined(__amd64) || defined(__amd64__) || defined(_M_AMD64) || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || defined(__bfin__)
+# elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || defined(_M_ALPHA) || defined(__amd64) || defined(__amd64__) || defined(_M_AMD64) || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || defined(__bfin__) || defined(__ARMEL__) || defined(__THUMBEL__) || defined(__AARCH64EL__) || defined(_M_ARM64) || defined(_M_ARM)
# define ANYRPC_ENDIAN ANYRPC_LITTLEENDIAN
# elif defined(ANYRPC_DOXYGEN_RUNNING)
# define ANYRPC_ENDIAN

View File

@ -1,12 +1,9 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sgieseking/anyrpc
REF bfd50aa6dd620066ed308258599127cd46be818b
SHA512 604e92a2a2936fb95e74e05dd1ac578e67e2877357443d83f8fac319ab244a27d1fac2ebd8bcd9ac8108e7a198752776974027b8f020643bb039b5f84406049b
REF b288617d0ae1d6e227bcda7d3db7db5329fa2322
SHA512 d50ef96ad13f06991e65e9912225b64c1f244bf89b67e4afcddbb18e08a885ec773aea88e1334d6deb73bb3824e916695b3b187b9023368aec3ba21a53dd2830
HEAD_REF master
PATCHES "arm_endian_detection.patch"
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ANYRPC_LIB_BUILD_SHARED)