Subject: pkg/37129: ncmpc segvaults & dumps core when xterm is resized
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <shinden@linux.pl>
List: pkgsrc-bugs
Date: 10/14/2007 00:00:01
>Number:         37129
>Category:       pkg
>Synopsis:       ncmpc segvaults & dumps core when xterm is resized
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 14 00:00:01 +0000 2007
>Originator:     Daniel Horecki
>Release:        4.99.32
>Organization:
>Environment:
NetBSD tatooine.stars 4.99.32 NetBSD 4.99.32 (TATOOINE) #4: Mon Oct  8 17:11:53 CEST 2007  root@tatooine.stars:/usr/obj/sys/arch/i386/compile/TATOOINE i386

>Description:
When xterm (or aterm) is resized with running ncmpc, ncmpc segfaults and dumps core. After using ncurses from pkgsrc, xterm can be shrinked and expanded without segfaulting ncmpc.
>How-To-Repeat:
Build ncmpc, run, then resize (e.g. shrink) xterm.
>Fix:
This patch fixed the thing and remove redundant entry:

--- audio/ncmpc/Makefile        13 Aug 2007 05:38:02 -0000      1.13
+++ audio/ncmpc/Makefile        13 Oct 2007 23:11:04 -0000
@@ -15,8 +15,7 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config msgfmt
 
-INCOMPAT_CURSES=       NetBSD-1.4*-* NetBSD-1.5*-*
-INCOMPAT_CURSES+=      NetBSD-1.6.*-* NetBSD-1.6_*-*
+INCOMPAT_CURSES+=      NetBSD-*
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"