diff --git a/ports/gmp/portfile.cmake b/ports/gmp/portfile.cmake index 11b662b3ee..cfac136c1f 100644 --- a/ports/gmp/portfile.cmake +++ b/ports/gmp/portfile.cmake @@ -21,6 +21,7 @@ vcpkg_extract_source_archive(SOURCE_PATH subdirs.patch msvc_symbol.patch arm64-coff.patch + remove_compiler_info.patch ) vcpkg_list(SET OPTIONS) diff --git a/ports/gmp/remove_compiler_info.patch b/ports/gmp/remove_compiler_info.patch new file mode 100644 index 0000000000..77871aaa4a --- /dev/null +++ b/ports/gmp/remove_compiler_info.patch @@ -0,0 +1,15 @@ +diff --git a/gmp-h.in b/gmp-h.in +index 648c933582..fa37296fe4 100644 +--- a/gmp-h.in ++++ b/gmp-h.in +@@ -2330,10 +2330,6 @@ enum + GMP_ERROR_MPZ_OVERFLOW = 16 + }; + +-/* Define CC and CFLAGS which were used to build this version of GMP */ +-#define __GMP_CC "@CC@" +-#define __GMP_CFLAGS "@CFLAGS@" +- + /* Major version number is the value of __GNU_MP__ too, above. */ + #define __GNU_MP_VERSION 6 + #define __GNU_MP_VERSION_MINOR 3 diff --git a/ports/gmp/vcpkg.json b/ports/gmp/vcpkg.json index b8278e524d..640c0967bf 100644 --- a/ports/gmp/vcpkg.json +++ b/ports/gmp/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gmp", "version": "6.3.0", - "port-version": 1, + "port-version": 2, "description": "The GNU Multiple Precision Arithmetic Library", "homepage": "https://gmplib.org", "license": "LGPL-3.0-only OR GPL-2.0-only", diff --git a/versions/baseline.json b/versions/baseline.json index 832965a8a2..7845b0bfe7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3210,7 +3210,7 @@ }, "gmp": { "baseline": "6.3.0", - "port-version": 1 + "port-version": 2 }, "gmsh": { "baseline": "4.13.1", diff --git a/versions/g-/gmp.json b/versions/g-/gmp.json index 589c535fdf..f441efd2b7 100644 --- a/versions/g-/gmp.json +++ b/versions/g-/gmp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d9ef9fbb509e23fcb49f567f3c383ca3fd37e2c0", + "version": "6.3.0", + "port-version": 2 + }, { "git-tree": "0634ea068717e4b97b9a9d767d70179b909657b6", "version": "6.3.0",