To apply this patch cd into the Aspell source directory and then patch -p0 < It is meant to be applied against Aspell .33.6.* This patch will: - Fix a bug when Aspell will crash when typo-analyzes is not used - Fix a bug which causes extended charters to display incorrectly on some platforms - Allow Aspell to compile with Gcc 3.0 - Should allow Aspell to compile with Egcs 1.1. I have not been able to actually test it though. Please let me know at address@hidden if you have have tried with Egcs 1.1. - Allow Aspell to compile when USE_FILE_INO is defined. =================================================================== RCS file: /cvsroot/aspell/aspell/lib/data.cc,v retrieving revision 1.2.8.13 retrieving revision 1.2.8.14 diff -u -r1.2.8.13 -r1.2.8.14 --- lib/data.cc 2001/07/07 09:04:55 1.2.8.13 +++ lib/data.cc 2001/07/18 15:46:20 1.2.8.14 @@ -132,7 +132,7 @@ { #ifdef USE_FILE_INO struct stat s; - int ok = fstat(filedesc(f), &s); + int ok = fstat(f.file_no(), &s); assert(ok == 0); id_->ino = s.st_ino; id_->dev = s.st_dev; Index: util/hash.hh =================================================================== RCS file: /cvsroot/aspell/aspell/util/hash.hh,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- util/hash.hh 2001/03/23 04:28:14 1.1.2.1 +++ util/hash.hh 2001/07/18 15:49:00 1.1.2.2 @@ -90,8 +90,8 @@ typedef size_type Size; public: // but don't use - typedef BlockSList NodePool; - typedef NodePool::Node Node; + typedef BlockSList NodePool; + typedef typename NodePool::Node Node; private: typedef unsigned int PrimeIndex; Index: lib/readonly_ws.cc =================================================================== RCS file: /cvsroot/aspell/aspell/lib/readonly_ws.cc,v retrieving revision 1.5.8.18 retrieving revision 1.5.8.19 diff -u -r1.5.8.18 -r1.5.8.19 --- lib/readonly_ws.cc 2001/03/23 04:28:14 1.5.8.18 +++ lib/readonly_ws.cc 2001/06/24 17:12:44 1.5.8.19 @@ -825,7 +825,7 @@ } } - data_head.word_block_size = round_up(OUT.tellp() - start + 1, + data_head.word_block_size = round_up(OUT.tellp() - start + 1l, page_size); data_head.total_block_size = data_head.word_block_size; Index: src/termios.cc =================================================================== RCS file: /cvsroot/aspell/aspell/src/termios.cc,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -r1.1.2.12 -r1.1.2.13 --- src/termios.cc 2001/04/07 06:47:34 1.1.2.12 +++ src/termios.cc 2001/06/10 19:15:00 1.1.2.13 @@ -550,7 +550,10 @@ #if HAVE_LIBCURSES - static inline void put (WINDOW * w, char c) {waddch(w,c);} + static inline void put (WINDOW * w, char c) + { + waddch(w,static_cast(c)); + } static inline void put (WINDOW * w, const char * c) { waddstr(w,const_cast(c));