Skip to content

Commit

Permalink
[nifly] Fix missing headers (#31998)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored Jun 14, 2023
1 parent ef153db commit 5e77bc0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ports/nifly/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_download_distfile(
MISSING_STDINT_H
URLS https://github.com/ousnius/nifly/commit/a16057e349b9cbee53d9618b22d3e235505f0df0.patch?full_index=1
SHA512 45147c85384deba257e52eda5c2ff0c8dee559edc10b00d6e9964d5cc675669587ef941cea0228816c39846de58e33197e953506b9b73267397c4b36cd1f1374
FILENAME a16057e349b9cbee53d9618b22d3e235505f0df0.patch
)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ousnius/nifly
REF 680a3c0435ff78f8189c46de410d0c8aa9c18a06
SHA512 b1bb4a194f95e7bcd66280e1b796d0813cd0b4dc292dae5b168092c2d529f89c966a0f11b364787dfa906556181326b30517b7f734fe85246cde4016e3a1d55b
HEAD_REF main
PATCHES
"${MISSING_STDINT_H}"
)

vcpkg_cmake_configure(
Expand Down
1 change: 1 addition & 0 deletions ports/nifly/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "nifly",
"version": "1.0.0",
"port-version": 1,
"description": "A C++ library for working with the NIF file format",
"homepage": "https://github.com/ousnius/nifly",
"supports": "!uwp",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5646,7 +5646,7 @@
},
"nifly": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"nifticlib": {
"baseline": "2020-04-30",
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/nifly.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "65dfaaae3bb9e8549f5b0f0a8b802cc4fae50164",
"version": "1.0.0",
"port-version": 1
},
{
"git-tree": "208094a8ee378aaa7a4de63e4d7e59401fecdb9b",
"version": "1.0.0",
Expand Down

0 comments on commit 5e77bc0

Please sign in to comment.