[gmp] remove embedded compiler info (#42443)

This commit is contained in:
Alexander Neumann 2024-12-03 00:56:40 +01:00 committed by GitHub
parent 3968ae86f7
commit f6a91a80e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 2 deletions

View File

@ -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)

View File

@ -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

View File

@ -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",

View File

@ -3210,7 +3210,7 @@
},
"gmp": {
"baseline": "6.3.0",
"port-version": 1
"port-version": 2
},
"gmsh": {
"baseline": "4.13.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d9ef9fbb509e23fcb49f567f3c383ca3fd37e2c0",
"version": "6.3.0",
"port-version": 2
},
{
"git-tree": "0634ea068717e4b97b9a9d767d70179b909657b6",
"version": "6.3.0",