Skip to content

Commit

Permalink
[rsocket]:fix ERROR macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayuehua committed Apr 6, 2022
1 parent 5562f6d commit eb5f213
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ports/rsocket/nogdi-macro.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38ef2b7..e5848af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,7 @@ set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
)

+add_definitions(-DNOGDI)
# Joins arguments and stores the result in ${var}.
function(join var)
unset(result)
1 change: 1 addition & 0 deletions ports/rsocket/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ vcpkg_from_github(
fix-find-dependencies.patch
use-cpp-17.patch
fix-folly.patch
nogdi-macro.patch
)

vcpkg_cmake_configure(
Expand Down
2 changes: 1 addition & 1 deletion ports/rsocket/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rsocket",
"version-string": "2021.08.30.00",
"port-version": 1,
"port-version": 2,
"description": "C++ implementation of RSocket http://rsocket.io",
"homepage": "https://github.com/rsocket/rsocket-cpp",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6222,7 +6222,7 @@
},
"rsocket": {
"baseline": "2021.08.30.00",
"port-version": 1
"port-version": 2
},
"rtabmap": {
"baseline": "0.20.13",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rsocket.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3eff07042b17994a76d39e2565a066f902b3e08d",
"version-string": "2021.08.30.00",
"port-version": 2
},
{
"git-tree": "073c3faa3992179768ce7e76cc7d39b654db9e8c",
"version-string": "2021.08.30.00",
Expand Down

0 comments on commit eb5f213

Please sign in to comment.