From f35bb4410a41adea1248337be07292678fae6780 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Sat, 22 Apr 2023 01:02:30 +0200 Subject: [PATCH] [intelrdfpmathlib] missing includes (#31009) --- ports/intelrdfpmathlib/missing-includes.patch | 24 +++++++++++++++++++ ports/intelrdfpmathlib/portfile.cmake | 1 + ports/intelrdfpmathlib/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/i-/intelrdfpmathlib.json | 5 ++++ 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 ports/intelrdfpmathlib/missing-includes.patch diff --git a/ports/intelrdfpmathlib/missing-includes.patch b/ports/intelrdfpmathlib/missing-includes.patch new file mode 100644 index 0000000000..540be9b946 --- /dev/null +++ b/ports/intelrdfpmathlib/missing-includes.patch @@ -0,0 +1,24 @@ +diff --git a/LIBRARY/src/bid_internal.h b/LIBRARY/src/bid_internal.h +index cd08ea7..ea5d0a0 100755 +--- a/LIBRARY/src/bid_internal.h ++++ b/LIBRARY/src/bid_internal.h +@@ -37,6 +37,7 @@ + + #include "bid_conf.h" + #include "bid_functions.h" ++#include + + #define __BID_INLINE__ static __inline + +diff --git a/LIBRARY/float128/dpml_exception.c b/LIBRARY/float128/dpml_exception.c +index d061a4c..c647732 100755 +--- a/LIBRARY/float128/dpml_exception.c ++++ b/LIBRARY/float128/dpml_exception.c +@@ -132,6 +132,7 @@ + !defined(wnt) + + # include ++#include + # define DPML_SIGNAL(p) raise(SIGFPE) + + #else diff --git a/ports/intelrdfpmathlib/portfile.cmake b/ports/intelrdfpmathlib/portfile.cmake index 9af890832e..8f05012d54 100644 --- a/ports/intelrdfpmathlib/portfile.cmake +++ b/ports/intelrdfpmathlib/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive( SOURCE_PATH ARCHIVE ${ARCHIVE} + PATCHES missing-includes.patch ) set(LIB_SOURCE_PATH "${SOURCE_PATH}/LIBRARY") diff --git a/ports/intelrdfpmathlib/vcpkg.json b/ports/intelrdfpmathlib/vcpkg.json index af04cb04b3..f16c7e5a2c 100644 --- a/ports/intelrdfpmathlib/vcpkg.json +++ b/ports/intelrdfpmathlib/vcpkg.json @@ -1,7 +1,7 @@ { "name": "intelrdfpmathlib", "version-string": "20U2", - "port-version": 5, + "port-version": 6, "description": "Intel(R) Decimal Floating-Point Math Library", "supports": "!(arm & windows)", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 6082f4cd5a..bfe4c78201 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3326,7 +3326,7 @@ }, "intelrdfpmathlib": { "baseline": "20U2", - "port-version": 5 + "port-version": 6 }, "io2d": { "baseline": "2020-09-14", diff --git a/versions/i-/intelrdfpmathlib.json b/versions/i-/intelrdfpmathlib.json index 8fa67204bc..b8d448fc2b 100644 --- a/versions/i-/intelrdfpmathlib.json +++ b/versions/i-/intelrdfpmathlib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7cf5496b9f4fbf09ed05be9b87e063a0094ac331", + "version-string": "20U2", + "port-version": 6 + }, { "git-tree": "c829bd814e973cf55e135f1d9e50a36b9d73d551", "version-string": "20U2",