Hello ports@ I noticed that somehow, ispell now segfaults immediately upon being run with an error such as:
ispell(67135) in free(): bogus pointer (double free?) 0x687361 I compiled it with debug symbols, and attemped to debug it with gdb. However, I'm still in the process of learning how to debug things, and couldn't fix it even after poking at a few things here and there. I attemped to compile ispell with clang, since IMO clang sometimes gives better error messages than GCC and surprisingly enough, ispell Just Works(TM) when compiled with clang. Yes, I know this is probably just painting over a real problem in ispell that should be fixed, but it gets ispell working for me. I also realized after making the attached patch, that ispell 3.4.00 has been released, whereas the current version in ports is 3.2.06. It may be easier to just update the port. I'll attempt to do so myself if I can find some extra time soon. -- Bryan
Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/ispell/Makefile,v retrieving revision 1.64 diff -u -r1.64 Makefile --- Makefile 3 Dec 2015 21:24:32 -0000 1.64 +++ Makefile 27 May 2017 09:01:10 -0000 @@ -14,6 +14,10 @@ DISTNAME= ispell-${VERSION} CATEGORIES= textproc +MODULES= lang/clang +MODCLANG_ARCHS= * +MODCLANG_LANGS= c c++ + HOMEPAGE= http://fmg-www.cs.ucla.edu/geoff/ispell.html MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \ @@ -57,7 +61,7 @@ SUBST_VARS+= VERSION PKGNAME-main= ${DISTNAME} -REVISION-main= 9 +REVISION-main= 10 MULTI_PACKAGES= -main -dutch -french -german -swedish -russian -portuguese \ -slovak -spanish .for i in ${MULTI_PACKAGES}