Skip to content

Commit

Permalink
[nss] Fix build error on non pure English system (microsoft#39033)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhuai authored Jun 7, 2024
1 parent 1020f75 commit 6f1ddd6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ports/nss/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ string(REPLACE "." "_" V_URL ${VERSION})
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.mozilla.org/pub/security/nss/releases/NSS_${V_URL}_RTM/src/nss-${VERSION}.tar.gz"
FILENAME "nss-${VERSION}.tar.gz"
SHA512 8ae032f3cb8eadfe524505d20e430b90ed25af2b4732b2cf286c435b0fcd5701d2f5c48bd2cfb3f9aa0bfdf503c1f3d5394cf34f860f51a1141cc4a7586bba32
SHA512 8ae032f3cb8eadfe524505d20e430b90ed25af2b4732b2cf286c435b0fcd5701d2f5c48bd2cfb3f9aa0bfdf503c1f3d5394cf34f860f51a1141cc4a7586bba32
)

vcpkg_extract_source_archive(
Expand Down Expand Up @@ -119,6 +119,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
)

list(APPEND GYPENV
"PYTHONUTF8=1"
"VSPATH=${GYP_MSVS_OVERRIDE_PATH}"
"GYP_MSVS_OVERRIDE_PATH=${GYP_MSVS_OVERRIDE_PATH}"
"GYP_MSVS_VERSION=${GYP_MSVS_VERSION}"
Expand Down
1 change: 1 addition & 0 deletions ports/nss/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "nss",
"version": "3.99",
"port-version": 1,
"description": "Network Security Services from Mozilla",
"homepage": "https://ftp.mozilla.org/pub/security/nss/releases/",
"license": "MPL-2.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6226,7 +6226,7 @@
},
"nss": {
"baseline": "3.99",
"port-version": 0
"port-version": 1
},
"nsync": {
"baseline": "1.26.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/nss.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "93c8abd74523ba189511a0846810848b9a0ed9b5",
"version": "3.99",
"port-version": 1
},
{
"git-tree": "ea00c7a5c7a405e00c94f4bf162bb5a616c2956c",
"version": "3.99",
Expand Down

0 comments on commit 6f1ddd6

Please sign in to comment.