CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#667 - ncurses: install an additional header file include/ncursesw/ncurses.h

Attached to Project: CRUX
Opened by Juergen Daubert (jue) - Sunday, 24 October 2010, 15:04 GMT
Last edited by Juergen Daubert (jue) - Tuesday, 22 December 2015, 15:44 GMT
Task Type Feature Request
Category ports → core/opt
Status Closed
Assigned To Juergen Daubert (jue)
Operating System CRUX
Severity Low
Priority Normal
Reported Version Development
Due in Version 3.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Recently I had some programs that failed to build because they tried to include <ncursesw/ncurses.h>.
I guess this is most likely because debian has a split ncurses package, where the wide variant installs the header files into /usr/include/ncursesw even though there are only one set of headers for ncurses.

My suggestion is to add a include/ncursesw/ncurses.h file to our ncurses-port, which is simply a symlink to include/curses.h.

Diff attached for review.
This task depends upon

Closed by  Juergen Daubert (jue)
Tuesday, 22 December 2015, 15:44 GMT
Reason for closing:  Won't implement
Comment by Juergen Daubert (jue) - Sunday, 24 October 2010, 15:06 GMT
Here's the patch
Comment by Thomas Penteker (teK) - Friday, 26 June 2015, 10:45 GMT
+1 from me (pinentry{,-gtk2,qt4} fails without patching because of this
Comment by Juergen Daubert (jue) - Monday, 21 December 2015, 15:52 GMT
Looks like the symlink is a _not_ good idea at all, at least it breaks the build of weechat:

gui-curses-term.c:30:27: fatal error: ncursesw/term.h: No such file or directory

Loading...