aboutsummaryrefslogtreecommitdiff
path: root/ports/brpc/fix_boost_ptr.patch
diff options
context:
space:
mode:
authorcuroky <cccuroky@gmail.com>2020-08-01 02:10:00 +0800
committerGitHub <noreply@github.com>2020-07-31 11:10:00 -0700
commitf533327462074bb386244227d5cc57902ddb4b7d (patch)
tree5e31be6641fdea4111896be6273c7e35b43aaff1 /ports/brpc/fix_boost_ptr.patch
parent62cbf2617570bd2d3e23ec4da378baf673473302 (diff)
downloadvcpkg-f533327462074bb386244227d5cc57902ddb4b7d.tar.gz
vcpkg-f533327462074bb386244227d5cc57902ddb4b7d.zip
[brpc] Add new port (#11524)
* [brpc] add new port * [brpc] ci ignore build error on windows * [brpc] update version and delete deprecated function * [brpc] fail install on windows Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [brpc] not support windows Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update portfile.cmake Update the format and remove unused comments * [brpc] rebase master * [brpc] reset ci.baseline.txt Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Diffstat (limited to 'ports/brpc/fix_boost_ptr.patch')
-rw-r--r--ports/brpc/fix_boost_ptr.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/brpc/fix_boost_ptr.patch b/ports/brpc/fix_boost_ptr.patch
new file mode 100644
index 000000000..4ced79422
--- /dev/null
+++ b/ports/brpc/fix_boost_ptr.patch
@@ -0,0 +1,14 @@
+diff --git a/src/brpc/policy/thrift_protocol.cpp b/src/brpc/policy/thrift_protocol.cpp
+index eae081a0..39c92338 100755
+--- a/src/brpc/policy/thrift_protocol.cpp
++++ b/src/brpc/policy/thrift_protocol.cpp
+@@ -45,8 +45,7 @@
+ #if defined(_THRIFT_STDCXX_H_)
+ # define THRIFT_STDCXX apache::thrift::stdcxx
+ #else
+- # define THRIFT_STDCXX boost
+- # include <boost/make_shared.hpp>
++ # define THRIFT_STDCXX std
+ #endif
+ #endif
+