Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPP] Update to 10.1.0 #44161

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ports/dpp/include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/dpp/socketengine.cpp b/src/dpp/socketengine.cpp
index 81c5fc92..025c534c 100644
--- a/src/dpp/socketengine.cpp
+++ b/src/dpp/socketengine.cpp
@@ -23,7 +23,7 @@
#include <dpp/exception.h>
#include <csignal>
#include <memory>
-#include <sslclient.h>
+#include <dpp/sslclient.h>
#include <iostream>
#include <dpp/cache.h>
#include <dpp/cluster.h>
11 changes: 9 additions & 2 deletions ports/dpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO brainboxdotcc/DPP
REF "v${VERSION}"
SHA512 66ae46cfe31414d857cf5c694836d725ed7f0408615c4f21848fc91320fe35c54dce869268cc9da2db3178be9d02adadbcd6a86d43f49f74e124636a8de749e8
SHA512 91c28f5ec96e3cb8312a01dffe03c0a4280d0499a310c594954ff1967d25f919805dfd069df2a77ad7e12d187438eba33763e433f8ed524ae48e73f976a5a2c7
PATCHES
"include.patch"
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DCMAKE_CXX_STANDARD=20
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DDPP_BUILD_TEST=OFF
-DDPP_FORMATTERS=ON
-DDPP_NO_CORO=OFF
)

vcpkg_cmake_install()
Expand Down
4 changes: 2 additions & 2 deletions ports/dpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "dpp",
"version": "10.0.35",
"version": "10.1.0",
"description": "D++ Extremely Lightweight C++ Discord Library.",
"homepage": "https://dpp.dev/",
"license": "Apache-2.0",
"supports": "(windows & !static & !uwp) | linux | osx",
"supports": "(windows & !uwp) | linux | osx",
"dependencies": [
"nlohmann-json",
"openssl",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,7 @@
"port-version": 0
},
"dpp": {
"baseline": "10.0.35",
"baseline": "10.1.0",
"port-version": 0
},
"draco": {
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/dpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4c767377e9b0d93626e5fff47d95b75d28eaf096",
"version": "10.1.0",
"port-version": 0
},
{
"git-tree": "b4b2c4fed21642247a10ad2e582f5ddfd911df6b",
"version": "10.0.35",
Expand Down