[Bug 264343] mail/squirrelmail spell checker not working-fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 May 2022 07:30:09 UTC

            Bug ID: 264343
           Summary: mail/squirrelmail spell checker not working-fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
                CC: uzsolt@uzsolt.hu
             Flags: maintainer-feedback?(uzsolt@uzsolt.hu)
                CC: uzsolt@uzsolt.hu

To enable aspell to function correctly, I changed the line containing
SQSPELL_EREG from ereg to preg_match.
in "/usr/local/www/squirrelmail/plugins/squirrelspell/sqspell_config.php".
/* $SQSPELL_EREG = 'ereg'; */
$SQSPELL_EREG = 'preg_match';

Magically the embedded plugin for spell-checker functionality worked.  I
modified another line, negating a general patch. For reference: 
$SQSPELL_APP = array('English' => '/usr/local/bin/aspell -d en_AU -a');

For uzsolt@uzsolt.hu 
sed -i '' -e "/_EREG/s/ereg/preg_match/1"

You are receiving this mail because:
You are the assignee for the bug.