Skip to content

Commit 93c7573

Browse files
committed
[vanillapdf] Fix missing header
1 parent 63829b9 commit 93c7573

5 files changed

Lines changed: 20 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/vanillapdf/utils/buffer.h b/src/vanillapdf/utils/buffer.h
2+
index f2bcba10..32a238b6 100644
3+
--- a/src/vanillapdf/utils/buffer.h
4+
+++ b/src/vanillapdf/utils/buffer.h
5+
@@ -12,6 +12,7 @@
6+
#include <string>
7+
#include <ostream>
8+
#include <cassert>
9+
+#include <cstring>
10+
11+
namespace vanillapdf {
12+

ports/vanillapdf/portfile.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ vcpkg_from_github(
55
SHA512 7e8e555901ea8c60d0bbd69933b284b88930c8bff771363d83228302832f43e3ae560f9666b1410ce388e60285c4a41b297a2d99fa465cbe23b406afd0647612
66
PATCHES
77
disable-autosubscribe.diff
8+
fix-missing-header.patch
89
)
910

1011
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" VANILLAPDF_USE_STATIC_CRT)

ports/vanillapdf/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "vanillapdf",
33
"version": "2.2.1",
4+
"port-version": 1,
45
"description": "Vanilla.PDF is a cross-platform SDK for creating and modifying PDF documents.",
56
"homepage": "https://github.com/vanillapdf/vanillapdf",
67
"documentation": "https://vanillapdf.github.io/vanillapdf",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10546,7 +10546,7 @@
1054610546
},
1054710547
"vanillapdf": {
1054810548
"baseline": "2.2.1",
10549-
"port-version": 0
10549+
"port-version": 1
1055010550
},
1055110551
"variant-lite": {
1055210552
"baseline": "3.0.0",

versions/v-/vanillapdf.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "48975bd730fb424b7cb9d0bb332a9d88d50d0633",
5+
"version": "2.2.1",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "05d27d757604863bb0d22f6e7da868153d11e259",
510
"version": "2.2.1",

0 commit comments

Comments
 (0)