diff --git a/ports/hunspell/0006-remove-gm.patch b/ports/hunspell/0006-remove-gm.patch
new file mode 100644
index 00000000000000..23827aef0be52b
--- /dev/null
+++ b/ports/hunspell/0006-remove-gm.patch
@@ -0,0 +1,12 @@
+diff --git a/msvc/hunspell.vcxproj b/msvc/hunspell.vcxproj
+index 660a082..e1757db 100644
+--- a/msvc/hunspell.vcxproj
++++ b/msvc/hunspell.vcxproj
+@@ -122,7 +122,6 @@
+ Disabled
+ ..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)
+ W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+- true
+ EnableFastChecks
+ MultiThreadedDebug
+
diff --git a/ports/hunspell/portfile.cmake b/ports/hunspell/portfile.cmake
index 61ab522afd32db..758d2947826865 100644
--- a/ports/hunspell/portfile.cmake
+++ b/ports/hunspell/portfile.cmake
@@ -10,6 +10,7 @@ vcpkg_from_github(
0003-fix-win-build.patch
0004-add-win-arm64.patch
0005-autotools-subdirs.patch
+ 0006-remove-gm.patch # https://github.com/hunspell/hunspell/pull/890
)
file(REMOVE "${SOURCE_PATH}/README") #README is a symlink
diff --git a/ports/hunspell/vcpkg.json b/ports/hunspell/vcpkg.json
index f5e602197a3751..20b0c426051650 100644
--- a/ports/hunspell/vcpkg.json
+++ b/ports/hunspell/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "hunspell",
"version": "1.7.1",
+ "port-version": 1,
"description": "The most popular spellchecking library.",
"homepage": "https://github.com/hunspell/hunspell",
"license": "MPL-1.1 OR LGPL-2.1-or-later OR GPL-2.0-or-later",
diff --git a/versions/baseline.json b/versions/baseline.json
index 71c1cce9cee057..00348bc07ce19b 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2938,7 +2938,7 @@
},
"hunspell": {
"baseline": "1.7.1",
- "port-version": 0
+ "port-version": 1
},
"hwloc": {
"baseline": "2.7.1",
diff --git a/versions/h-/hunspell.json b/versions/h-/hunspell.json
index b526cc9562cb06..31e49b61c69fc0 100644
--- a/versions/h-/hunspell.json
+++ b/versions/h-/hunspell.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "b41e3a543323f9a28cfa2fc9e93c8d3fc31a2597",
+ "version": "1.7.1",
+ "port-version": 1
+ },
{
"git-tree": "3adb7d5162395e281e90173a290f16303c977f3b",
"version": "1.7.1",