mirror of https://github.com/microsoft/vcpkg.git
[dcmtk] allow wasm build (#52481)
This commit is contained in:
parent
59acc80b23
commit
fa4df61aab
|
|
@ -0,0 +1,16 @@
|
|||
--- a/ofstd/libsrc/ofwhere.c
|
||||
+++ b/ofstd/libsrc/ofwhere.c
|
||||
@@ -33,5 +33,5 @@
|
||||
|
||||
-#if defined(__linux__) || defined(__CYGWIN__)
|
||||
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__)
|
||||
#undef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#elif defined(__APPLE__)
|
||||
@@ -166,5 +166,5 @@
|
||||
}
|
||||
|
||||
-#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(WAI_USE_PROC_SELF_EXE)
|
||||
+#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(WAI_USE_PROC_SELF_EXE) || defined(__EMSCRIPTEN__)
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -11,7 +11,9 @@ vcpkg_from_github(
|
|||
disable-test-setup.diff
|
||||
pkgconfig-lib-order.diff
|
||||
msvc.diff
|
||||
emscripten-ofwhere.diff
|
||||
)
|
||||
|
||||
file(REMOVE
|
||||
"${SOURCE_PATH}/CMake/FindICONV.cmake"
|
||||
"${SOURCE_PATH}/CMake/FindJPEG.cmake"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "dcmtk",
|
||||
"version": "3.7.0",
|
||||
"port-version": 1,
|
||||
"description": "This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.",
|
||||
"homepage": "https://github.com/DCMTK/dcmtk",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -2458,7 +2458,7 @@
|
|||
},
|
||||
"dcmtk": {
|
||||
"baseline": "3.7.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"ddtdanilo-lmdb-wrapper": {
|
||||
"baseline": "1.0.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "dd083279adef30a6018c8a82e09009c4bf64e214",
|
||||
"version": "3.7.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "288bd880194f8ef326245cace498d59017b5a2ec",
|
||||
"version": "3.7.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue