mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[openjph] update to 0.25.3 (#48390)
This commit is contained in:
@@ -2,8 +2,10 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO aous72/OpenJPH
|
||||
REF "${VERSION}"
|
||||
SHA512 9563eecfb5eb1fd3c4cc3f9b0c2cbcc44340b5d76b636ee9076113722ce326ba8b337d5058b43ed84be3fbb3d18f1202aa885ec1e87a5d193f817662bc4fbf53
|
||||
SHA512 c34a1a568be4f4587bb1e8bee5b3494035bdeca519f411fe0e01a8b48ac3f2ccea9e7acd8b557462a12aae1fa01bd8b678c499c8be0b221f07b59a0636363863
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
xsi-strerror_r.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openjph",
|
||||
"version": "0.25.2",
|
||||
"version": "0.25.3",
|
||||
"description": "Open-source implementation of JPEG2000 Part-15 (or JPH or HTJ2K)",
|
||||
"homepage": "https://github.com/aous72/OpenJPH",
|
||||
"license": "BSD-2-Clause",
|
||||
|
||||
15
ports/openjph/xsi-strerror_r.patch
Normal file
15
ports/openjph/xsi-strerror_r.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/src/apps/others/ojph_sockets.cpp b/src/apps/others/ojph_sockets.cpp
|
||||
index 43b2105..106d9de 100644
|
||||
--- a/src/apps/others/ojph_sockets.cpp
|
||||
+++ b/src/apps/others/ojph_sockets.cpp
|
||||
@@ -165,8 +165,8 @@ namespace ojph
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||||
buf, max_buf_size, NULL);
|
||||
buf[max_buf_size - 1] = 0;
|
||||
- #elif (defined __GLIBC__) && \
|
||||
- ((defined _GNU_SOURCE) || (_POSIX_C_SOURCE < 200112L))
|
||||
+ #elif (defined __ANDROID__) || ((defined __GLIBC__) && \
|
||||
+ ((defined _GNU_SOURCE) || (_POSIX_C_SOURCE < 200112L)))
|
||||
v = strerror_r(errnum, (char*)buf, max_buf_size);
|
||||
#else
|
||||
// it is not clear if the returned value is in buf or in v
|
||||
@@ -7245,7 +7245,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"openjph": {
|
||||
"baseline": "0.25.2",
|
||||
"baseline": "0.25.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"openldap": {
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c9f0448507cd433052ac0d0962e512e68b72ccbb",
|
||||
"version": "0.25.3",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "ab5e6baa157b3e31c69e3a7efe6890dcab13c5f0",
|
||||
"version": "0.25.2",
|
||||
|
||||
Reference in New Issue
Block a user