Skip to content

Commit

Permalink
[drogon] Update to 1.6.0 (microsoft#17986)
Browse files Browse the repository at this point in the history
  • Loading branch information
an-tao authored Jun 2, 2021
1 parent 3394bed commit 4ce98d3
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ports/drogon/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: drogon
Version: 1.5.1
Version: 1.6.0
Homepage: https://github.com/an-tao/drogon
Description:Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows
Build-Depends: trantor, zlib, jsoncpp, libmariadb (!osx), libmariadb[iconv] (osx), libpq, sqlite3, brotli, libuuid (!windows)
Expand Down
5 changes: 3 additions & 2 deletions ports/drogon/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO an-tao/drogon
REF v1.5.1
SHA512 fe9c6b11c176ee5ae76ab96f1f2fcfef1b1868f23eac2bd17d39e11293cbf990e50c88d9da9412b85ca780226906ba5ced0032f0a354291c6f056a49d41f6f8a
REF v1.6.0
SHA512 3e3012bbee0a12cfabf79581bc0f57592065bc9618ed18c17ef77afee55750c8a8b8626053863208928b173cd0629f271a14a07e602f8ea93976c43b3ba5c9db
HEAD_REF master
PATCHES
vcpkg.patch
resolv.patch
drogon_config.patch
ssize_t.patch
)

vcpkg_check_features(
Expand Down
13 changes: 13 additions & 0 deletions ports/drogon/ssize_t.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/orm_lib/inc/drogon/orm/Mapper.h b/orm_lib/inc/drogon/orm/Mapper.h
index d248625..8911f7f 100644
--- a/orm_lib/inc/drogon/orm/Mapper.h
+++ b/orm_lib/inc/drogon/orm/Mapper.h
@@ -21,7 +21,7 @@
#include <vector>

#ifdef _WIN32
-using ssize_t = std::intptr_t;
+using ssize_t = long long;
#endif

namespace drogon
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@
"port-version": 0
},
"drogon": {
"baseline": "1.5.1",
"baseline": "1.6.0",
"port-version": 0
},
"dtl": {
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/drogon.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "29f71d851bbd006bfed9aaad62b34158b3f7cc0a",
"version-string": "1.6.0",
"port-version": 0
},
{
"git-tree": "b4640b2eac30f14ae5d41ddada94ca779aa1b597",
"version-string": "1.5.1",
Expand Down

0 comments on commit 4ce98d3

Please sign in to comment.