Source: nnn
Version: 1.1-1
Severity: important
Tags: upstream
Justification: fails to build from source

The build of nnn for hurd-i386 (admittedly not a release architecture)
failed:

  nnn.c:12:20: fatal error: curses.h: No such file or directory

It looks like builds for kfreebsd-* (not release architectures either)
will fail in the same fashion.  The best fix would be automatic
detection of whether to use ncurses or ncursesw, but failing that, I'd
suggest flipping the conditional in nnn.c to match Makefile.generic:

#ifdef __APPLE__
#include <curses.h>
#else
#include <ncursesw/curses.h>
#endif

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to