NetBSD Problem Report #22992
Received: (qmail 6607 invoked by uid 605); 28 Sep 2003 15:46:46 -0000
Message-Id: <200309281545.h8SFjeTw014202@server.duh.org>
Date: Sun, 28 Sep 2003 11:45:40 -0400 (EDT)
From: tv@duh.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: tv@duh.org
To: gnats-bugs@gnats.netbsd.org
Subject: textproc/aspell doesn't really need ncurses
X-Send-Pr-Version: 3.95
>Number: 22992
>Category: pkg
>Synopsis: textproc/aspell doesn't really need ncurses
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Sep 28 15:47:00 +0000 2003
>Closed-Date: Thu Oct 02 01:01:31 +0000 2003
>Last-Modified: Thu Oct 02 01:08:00 +0000 2003
>Originator: Todd Vierling
>Release: NetBSD 1.6.1_STABLE
>Organization:
DUH.ORG: Pointing out the obvious since 1994.
>Environment:
System: NetBSD server.duh.org 1.6.1_STABLE NetBSD 1.6.1_STABLE (SERVER) #1: Fri Sep 12 11:28:14 EDT 2003 tv@server.duh.org:/export/SRC/duh/netbsd-kernels/SERVER i386
Architecture: i386
Machine: i386
>Description:
halfdelay(N) is the function supposedly needed by aspell to do its work in
curses mode. This is not actually needed; it can be emulated by the
sequence cbreak(); timeout(N*100).
With attached additional patch, aspell compiles and runs just fine on
NetBSD 1.6.x with system-supplied curses. Do note that I haven't confirmed
proper poperation on 1.5.x, but there are no additional functions listed in
the former needs-ncurses comment.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/aspell/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 2003/09/28 09:13:59 1.14
+++ Makefile 2003/09/28 15:42:49
@@ -19,9 +19,6 @@
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-# halfdelay()
-INCOMPAT_CURSES= NetBSD-1.[45]*-* NetBSD-1.6[-_.]* NetBSD-1.6[A-L]-*
-
CONFIGURE_ARGS+= --enable-doc-dir=${PREFIX}/share/doc/aspell
CONFIGURE_ARGS+= --enable-curses=ncurses
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/aspell/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 2003/07/14 17:06:34 1.5
+++ distinfo 2003/09/28 15:42:49
@@ -3,3 +3,4 @@
SHA1 (aspell-0.50.3.tar.gz) = aea3c1e47c10bf2f189dbff91c3c137170af6a72
Size (aspell-0.50.3.tar.gz) = 939063 bytes
SHA1 (patch-aa) = ec9eff280bdb169814e134f541dee7c879a58fdd
+SHA1 (patch-ab) = 4b69a1549e47e857853aea86b42ec5ed3df80040
Index: patches/patch-ab
===================================================================
RCS file: patch-ab
diff -N patch-ab
--- /dev/null Thu Jul 11 11:18:53 2002
+++ patch-ab Sun Sep 28 15:42:49 2003
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- prog/check_funs.cpp.orig Sun Sep 28 11:37:02 2003
++++ prog/check_funs.cpp
+@@ -205,7 +205,8 @@ void layout_screen() {
+ choice_w = 0;
+ nonl();
+ noecho();
+- halfdelay(1);
++ cbreak();
++ timeout(100);
+ keypad(stdscr, true);
+ clear();
+ int height, width;
>Release-Note:
>Audit-Trail:
From: Todd Vierling <tv@duh.org>
To: gnats-bugs@netbsd.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: pkg/22992: textproc/aspell doesn't really need ncurses
Date: Sun, 28 Sep 2003 11:47:27 -0400 (EDT)
On Sun, 28 Sep 2003 gnats-admin@netbsd.org wrote:
: >Synopsis: textproc/aspell doesn't really need ncurses
I should add that I forgot to bump the PKGREVISION in the supplied diff.
This should be done at commit time.
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com>
State-Changed-From-To: open->closed
State-Changed-By: itojun
State-Changed-When: Thu Oct 2 01:01:21 UTC 2003
State-Changed-Why:
committed (actually, committing)
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/22992 CVS commit: pkgsrc/textproc/aspell
Date: Thu, 2 Oct 2003 01:07:52 +0000 (UTC)
Module Name: pkgsrc
Committed By: itojun
Date: Thu Oct 2 01:07:52 UTC 2003
Modified Files:
pkgsrc/textproc/aspell: Makefile distinfo
Added Files:
pkgsrc/textproc/aspell/patches: patch-ac
Log Message:
work around to remove dependency to ncurses on netbsd. PR pkg/22992
To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 pkgsrc/textproc/aspell/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/textproc/aspell/distinfo
cvs rdiff -r0 -r1.3 pkgsrc/textproc/aspell/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.