From 87206833fa55ef51b0a38550d224a96ca69744d1 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 11 Jul 2023 14:39:47 +0200 Subject: [PATCH] hunspell, add search path for spelling directory (#9015) --- app-text/hunspell/hunspell-1.7.0.recipe | 2 +- .../hunspell/patches/hunspell-1.7.0.patchset | 26 +++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/app-text/hunspell/hunspell-1.7.0.recipe b/app-text/hunspell/hunspell-1.7.0.recipe index 94cc879b0..861f0be14 100644 --- a/app-text/hunspell/hunspell-1.7.0.recipe +++ b/app-text/hunspell/hunspell-1.7.0.recipe @@ -9,7 +9,7 @@ COPYRIGHT="2007-2016 Hunspell developers et al. LICENSE="GNU GPL v2 GNU LGPL v2.1 MPL v1.1" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/hunspell/hunspell/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a" SOURCE_FILENAME="hunspell-$portVersion.tar.gz" diff --git a/app-text/hunspell/patches/hunspell-1.7.0.patchset b/app-text/hunspell/patches/hunspell-1.7.0.patchset index 0bb13bcd6..f96c25659 100644 --- a/app-text/hunspell/patches/hunspell-1.7.0.patchset +++ b/app-text/hunspell/patches/hunspell-1.7.0.patchset @@ -1,4 +1,4 @@ -From dd70f0837ef1fbd287aa928683078f81d2c54d5d Mon Sep 17 00:00:00 2001 +From 85c0ca98b6fca53250c23b605bc25d1bc8cce1f7 Mon Sep 17 00:00:00 2001 From: begasus Date: Mon, 12 Aug 2019 07:48:24 +0200 Subject: Import previous patch to rename the binaries @@ -134,5 +134,27 @@ index 3fcf42c..7a9d7ef 100755 alias hunspell='"$LIBTOOL" --mode=execute "$HUNSPELL"' alias analyze='"$LIBTOOL" --mode=execute "$ANALYZE"' -- -2.21.0 +2.37.3 + + +From e6936b86f5fb992703d547d9b5799f7e5e9213b2 Mon Sep 17 00:00:00 2001 +From: Begasus +Date: Tue, 11 Jul 2023 14:29:03 +0000 +Subject: Add search path for Haiku's spell directory + + +diff --git a/src/tools/hunspell.cxx b/src/tools/hunspell.cxx +index 690e34a..e4e18c6 100644 +--- a/src/tools/hunspell.cxx ++++ b/src/tools/hunspell.cxx +@@ -116,6 +116,7 @@ + #include "../parsers/odfparser.hxx" + + #define LIBDIR \ ++ "/system/data/hunspell:" \ + "/usr/share/hunspell:" \ + "/usr/share/myspell:" \ + "/usr/share/myspell/dicts:" \ +-- +2.37.3