Skip to content

Commit

Permalink
[drogon] Fix gcc13 compilation errors (microsoft#32270)
Browse files Browse the repository at this point in the history
* Fix gcc13 compilation errors.

* update version
  • Loading branch information
jimwang118 authored Jun 29, 2023
1 parent 6c6cef9 commit ca02a48
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ports/drogon/fix_gcc13.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/inc/drogon/RateLimiter.h b/lib/inc/drogon/RateLimiter.h
index 6940321..2c5f039 100644
--- a/lib/inc/drogon/RateLimiter.h
+++ b/lib/inc/drogon/RateLimiter.h
@@ -3,6 +3,7 @@
#include <memory>
#include <chrono>
#include <mutex>
+#include <string>

namespace drogon
{
1 change: 1 addition & 0 deletions ports/drogon/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
vcpkg.patch
drogon_config.patch
fix_gcc13.patch #https://github.com/drogonframework/drogon/pull/1563
)

vcpkg_check_features(
Expand Down
1 change: 1 addition & 0 deletions ports/drogon/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "drogon",
"version": "1.8.4",
"port-version": 1,
"description": "A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows",
"homepage": "https://github.com/an-tao/drogon",
"documentation": "https://drogon.docsforge.com/master/overview/",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@
},
"drogon": {
"baseline": "1.8.4",
"port-version": 0
"port-version": 1
},
"dstorage": {
"baseline": "1.2.0",
Expand Down
7 changes: 6 additions & 1 deletion versions/d-/drogon.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"versions": [
{
"git-tree": "29376f140626e1d34d6ca573b5a00e6dd7006d2f",
"version": "1.8.4",
"port-version": 1
},
{
"git-tree": "92af14d325c1fce661625e6adef2cf633acb5a37",
"version": "1.8.4",
"port-version": 0
"port-version": 0
},
{
"git-tree": "670f02828b60f7a11c6b7a7feff0396d6cec4483",
Expand Down

0 comments on commit ca02a48

Please sign in to comment.