mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
hunspell, add search path for spelling directory (#9015)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From dd70f0837ef1fbd287aa928683078f81d2c54d5d Mon Sep 17 00:00:00 2001
|
||||
From 85c0ca98b6fca53250c23b605bc25d1bc8cce1f7 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
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 <begasus@gmail.com>
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user