Subject: pkg/21562: textproc/aspell compilation fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <florence.henry@obspm.fr>
List: netbsd-bugs
Date: 05/13/2003 06:56:34
>Number:         21562
>Category:       pkg
>Synopsis:       textproc/aspell compilation fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 06:57:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Florence HENRY
>Release:        -current
>Organization:
>Environment:
NetBSD dodo 1.6R NetBSD 1.6R (DODO) #9: Sat May  3 11:36:28 CEST 2003  root@dodo:/usr/src/sys/arch/i386/compile/DODO i386
>Description:
the textproc/aspell package compilation fails with this error
 c++ -DHAVE_CONFIG_H -I. -I. -I../common -I../common/ -I../interfaces/cc/ -I../modules/speller/default/   -I/usr/pkg/include  -O2 -I/usr/pkg/include -c -o check_funs.o `test -f 'check_funs.cpp' || echo './'`check_funs.cpp
check_funs.cpp: In function `void layout_screen()':
check_funs.cpp:208: implicit declaration of function `int halfdelay(...)'
gmake[1]: *** [check_funs.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/textproc/aspell/work/aspell-0.50.3/prog'
gmake: *** [all-recursive] Error 1
*** Error code 2

>How-To-Repeat:
make clean && make
>Fix:
here is a patch that fixes the problem

$NetBSD$

--- prog/check_funs.cpp.orig    Tue May 13 08:50:02 2003
+++ prog/check_funs.cpp
@@ -205,7 +205,7 @@ void layout_screen() {
   choice_w = 0;
   nonl();
   noecho();
-  halfdelay(1);
+  int halfdelay(1);
   keypad(stdscr, true);
   clear();
   int height, width;

>Release-Note:
>Audit-Trail:
>Unformatted: