Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2022 07:30:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264343] mail/squirrelmail spell checker not working-fix
Message-ID:  <bug-264343-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264343

            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 =3D 'ereg'; */
$SQSPELL_EREG =3D 'preg_match';

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

For uzsolt@uzsolt.hu=20
sed -i '' -e "/_EREG/s/ereg/preg_match/1"
"/usr/local/www/squirrelmail/plugins/squirrelspell/sqspell_config.php"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264343-7788>