Skip to content

Commit

Permalink
[json-c] Update to 0.18-20240915 (#43298)
Browse files Browse the repository at this point in the history
Co-authored-by: WangWeiLin-MV <[email protected]>
  • Loading branch information
tartanpaint and WangWeiLin-MV authored Jan 21, 2025
1 parent 90f00eb commit 36e2f42
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 41 deletions.
22 changes: 0 additions & 22 deletions ports/json-c/fix-clang-cl.patch

This file was deleted.

13 changes: 0 additions & 13 deletions ports/json-c/pkgconfig.patch

This file was deleted.

7 changes: 3 additions & 4 deletions ports/json-c/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO json-c/json-c
REF b4c371fa0cbc4dcbaccc359ce9e957a22988fb34
SHA512 1338271a6f9ffb3b8a8d4f2ec36a374ed84b3c91f789b607693c08cbeb38c4fdd813593f530ff94e841a095ff367a3ae8c5f5e7dbcb64e8f9044f6affdf24505
REF "json-c-${VERSION}"

SHA512 219d8c0da9a4016b74af238cc15dbec1f369a07de160bcc548d80279028e1b5d8d928deb13fec09c96a085fc0ecf10090e309cbe72d0081aca864433c4ae01db
HEAD_REF master
PATCHES pkgconfig.patch
fix-clang-cl.patch
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" JSON_BUILD_STATIC)
Expand Down
2 changes: 1 addition & 1 deletion ports/json-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-c",
"version-date": "2023-08-12",
"version": "0.18-20240915",
"description": "A JSON implementation in C",
"homepage": "https://github.com/json-c/json-c",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3849,7 +3849,7 @@
"port-version": 2
},
"json-c": {
"baseline": "2023-08-12",
"baseline": "0.18-20240915",
"port-version": 0
},
"json-dto": {
Expand Down
5 changes: 5 additions & 0 deletions versions/j-/json-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "786a0712b7019e33da008008e17fb920932e9e8d",
"version": "0.18-20240915",
"port-version": 0
},
{
"git-tree": "dcfc2cbe17b88101d8e40f6eb6141b77caff68e9",
"version-date": "2023-08-12",
Expand Down

0 comments on commit 36e2f42

Please sign in to comment.