From 2083e9f53e06570855b6ba4181280ccf1daaebfc Mon Sep 17 00:00:00 2001 From: Weihang Ding <798047000@qq.com> Date: Thu, 14 May 2026 14:19:11 +0800 Subject: [PATCH] [hunsupell] Update to 1.7.3 (#51709) --- ports/hunspell/0005-autotools-subdirs.patch | 8 ++++---- ports/hunspell/portfile.cmake | 2 +- ports/hunspell/vcpkg.json | 3 +-- scripts/ci.feature.baseline.txt | 2 -- versions/baseline.json | 4 ++-- versions/h-/hunspell.json | 5 +++++ 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ports/hunspell/0005-autotools-subdirs.patch b/ports/hunspell/0005-autotools-subdirs.patch index 0a4320d5bf..a53443ebb8 100644 --- a/ports/hunspell/0005-autotools-subdirs.patch +++ b/ports/hunspell/0005-autotools-subdirs.patch @@ -11,11 +11,11 @@ index c0aae53..769aef5 100644 pkgconfdir = $(libdir)/pkgconfig pkgconf_DATA = hunspell.pc diff --git a/configure.ac b/configure.ac -index 358cb1d..152adef 100644 +index 698d118..961802a 100644 --- a/configure.ac +++ b/configure.ac -@@ -38,6 +38,9 @@ dnl internationalization macros - AM_GNU_GETTEXT_VERSION(0.18) +@@ -49,6 +49,9 @@ dnl internationalization macros + AM_GNU_GETTEXT_VERSION(0.20) AM_GNU_GETTEXT([external]) +AC_ARG_ENABLE(tools,[]) @@ -23,7 +23,7 @@ index 358cb1d..152adef 100644 + AC_ARG_WITH(warnings,[ --with-warnings compile with warning messages],[ AC_DEFINE(HUNSPELL_WARNING_ON,1,"Define if you need warning messages") - ]) + CPPFLAGS="$CPPFLAGS -DHUNSPELL_WARNING_ON" diff --git a/src/Makefile.am b/src/Makefile.am index 45b7703..27700af 100644 --- a/src/Makefile.am diff --git a/ports/hunspell/portfile.cmake b/ports/hunspell/portfile.cmake index 0311f4be3c..15e0f8bb0b 100644 --- a/ports/hunspell/portfile.cmake +++ b/ports/hunspell/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO hunspell/hunspell REF "v${VERSION}" - SHA512 d007edc8cb7ff95048361418b088bb062962973247c940aa826c9859a5ef90a9734100bffe7c7ac9a774f2e233605e814efb9e7fd3fc8c4ef4b978e9ec990cba + SHA512 f279ae2c7cd71edc2a1a5977e27426205d58f6520011dfdce702073e4ca6ab439b4618dde4482cdb5b8176650d7b97c1275038b6c749134251094a59ef5a919a HEAD_REF master PATCHES 0005-autotools-subdirs.patch diff --git a/ports/hunspell/vcpkg.json b/ports/hunspell/vcpkg.json index 25e66dbb26..3a5c2af84d 100644 --- a/ports/hunspell/vcpkg.json +++ b/ports/hunspell/vcpkg.json @@ -1,7 +1,6 @@ { "name": "hunspell", - "version": "1.7.2", - "port-version": 1, + "version": "1.7.3", "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/scripts/ci.feature.baseline.txt b/scripts/ci.feature.baseline.txt index 2d209e2487..592902ee82 100644 --- a/scripts/ci.feature.baseline.txt +++ b/scripts/ci.feature.baseline.txt @@ -455,8 +455,6 @@ highfive[opencv]:arm64-linux=cascade hpx[cuda](!(windows & x64 & !xbox) & !(linux & x64) & !(linux & arm64))=cascade hpx[mpi]:arm64-linux=cascade hpx[mpi](windows & !(x64 | x86))=cascade -hunspell:x64-windows-static-md=fail -hunspell[tools](windows)=feature-fails # error C2065: 'mode_t': undeclared identifier. See https://github.com/microsoft/vcpkg/issues/30633 hypre:arm64-linux=cascade hypre:arm64-windows=cascade hypre:x86-windows=cascade diff --git a/versions/baseline.json b/versions/baseline.json index 21b4df1330..77c40f05da 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3881,8 +3881,8 @@ "port-version": 3 }, "hunspell": { - "baseline": "1.7.2", - "port-version": 1 + "baseline": "1.7.3", + "port-version": 0 }, "hwloc": { "baseline": "2.11.2", diff --git a/versions/h-/hunspell.json b/versions/h-/hunspell.json index a038a13469..18cf2ffdee 100644 --- a/versions/h-/hunspell.json +++ b/versions/h-/hunspell.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e2c03c6ee9a4e33778bbe5c7ab565dbe7c4336a8", + "version": "1.7.3", + "port-version": 0 + }, { "git-tree": "1d470eb79853a55a2bcbf8fce3e41f0cf7c737a3", "version": "1.7.2",