When trying to spell a TeX file aspell dumped core, complaining that the configuration symbol 'f-tex-command' was not defined. Some digging around turned out that the script gen/mk-static-filter.pl is broken. It generates an incorrect gen/static_filters.src.cpp. Specifically, the variables pointing to the first and last members of arrays are not set correctly (first and last both point to the beginning of the array, even for non-empty arrays!). As a workaround I have included a patch that makes mk-static-filter.pl return immediately, and includes a correct static_filters.src.cpp. :-) Fix: ------ patch for textproc/aspell ------ How-To-Repeat: Run aspell -t on a file. It will dump core.
Responsible Changed From-To: freebsd-ports-bugs->thierry Over to maintainer (via the GNATS Auto Assign Tool)
thierry 2008-04-19 07:46:27 UTC FreeBSD ports repository Modified files: textproc/aspell Makefile Added files: textproc/aspell/files patch-gen_mk-static-filter.pl Log: - Disable wide char utf8 cursor control for $OSVERSION < 602107; (1) - Fix segfault when checking TeX files. (2) Reported by: Pav (1) PR: ports/122873 (2) Submitted by: Roland Smith <rsmith (at) xs4all.nl> (2) Patch from: Kevin Atkinson <kevina (at) gnu.org> (author) (2) Revision Changes Path 1.89 +10 -2 ports/textproc/aspell/Makefile 1.1 +11 -0 ports/textproc/aspell/files/patch-gen_mk-static-filter.pl (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Thanks for the report! Note: I have not committed your work-around, but a patch obtained from the author.