Subject: Re: pkg/16220: abiword package all words mispelled and no dictionary
To: None <gnats-bugs@gnats.netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 04/09/2002 15:10:34
(Also, blind carbon-copied to package maintainer.)

On Sat, 6 Apr 2002 reed@reedmedia.net wrote:

> >Number:         16220

> >Synopsis:       abiword all words mispelled and no dictionary

I don't know if this is the correct fix, but it is direct from Abiword
developer:

http://www.abisource.com/mailinglists/abiword-dev/02/Apr/0186.html

I added this patches/patch-am and now spelling and the dictionary works:

--- src/af/util/xp/ut_iconv.cpp.orig    Tue Apr  9 14:34:10 2002
+++ src/af/util/xp/ut_iconv.cpp Tue Apr  9 14:34:57 2002
@@ -115,7 +115,7 @@
   // we special-case the win32 build, otherwise spelling and other stuff
   // just doesn't work
   return "UCS-2LE";
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
   // we special case the BSDs since spelling just doesn't work
   return "UCS2";
 #else

Please consider applying this patch (which won't be needed for future
Abiword) and closing this PR. Thanks.

   Jeremy C. Reed
   http://bsd.reedmedia.net/