Skip to content

Commit

Permalink
fix messing header (#32367)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adela0814 committed Jul 5, 2023
1 parent 6346fb4 commit b990e95
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
13 changes: 0 additions & 13 deletions ports/sleepy-discord/fix-boost.patch

This file was deleted.

12 changes: 12 additions & 0 deletions ports/sleepy-discord/fix-messing-header.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/include/sleepy_discord/zlib_compression.h b/include/sleepy_discord/zlib_compression.h
index 9d95c58..b2d418e 100644
--- a/include/sleepy_discord/zlib_compression.h
+++ b/include/sleepy_discord/zlib_compression.h
@@ -9,6 +9,7 @@
#include <forward_list>
#include <string>
#include <mutex>
+#include <cstring>

namespace SleepyDiscord {
//This Queue is basicly a single linked list with the back and size stored
2 changes: 2 additions & 0 deletions ports/sleepy-discord/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ vcpkg_from_github(
REF 70b9ec13427ea68de6f4213e9dfec6129fbab21b
SHA512 c91fbb9a672257c63ee83b40b62961b89568ca33081048b440876c390a2a2e11c602aaf43a6c9485fd85a91248f34a70d7b9ea769d0cfcd4b35b80d58a6ad737
HEAD_REF develop
PATCHES
fix-messing-header.patch
)

# Handle version data here to prevent issues from doing this twice in parallel
Expand Down
2 changes: 1 addition & 1 deletion ports/sleepy-discord/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sleepy-discord",
"version-date": "2022-02-05",
"port-version": 1,
"port-version": 2,
"description": "C++ library for the Discord chat client",
"homepage": "https://yourwaifu.dev/sleepy-discord/",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7562,7 +7562,7 @@
},
"sleepy-discord": {
"baseline": "2022-02-05",
"port-version": 1
"port-version": 2
},
"slikenet": {
"baseline": "2021-06-07",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/sleepy-discord.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "594857bed2d04f35b594acbf4f1488c4ae4c4ad0",
"version-date": "2022-02-05",
"port-version": 2
},
{
"git-tree": "7d9b72be7b331d4451d11594b175b0e1f97a75ab",
"version-date": "2022-02-05",
Expand Down

0 comments on commit b990e95

Please sign in to comment.