[...] > news/nn Aaron W. Hsu <arcf...@sacrideo.us>
Here's a patch to remove the sgtty.h include and allow this to build. While here, I spotted build warnings wrt. signal(3). I can commit that seperately, with a REVISION bump. ok? Index: files/s-openbsd.h =================================================================== RCS file: /cvs/ports/news/nn/files/s-openbsd.h,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 s-openbsd.h --- files/s-openbsd.h 17 Nov 2008 08:42:13 -0000 1.1.1.1 +++ files/s-openbsd.h 7 Dec 2013 23:04:03 -0000 @@ -59,7 +59,7 @@ * Define if a signal handler has type void (see signal.h) */ -/* #define SIGNAL_HANDLERS_ARE_VOID /* */ +#define SIGNAL_HANDLERS_ARE_VOID /* */ /* * Define if signals must be set again after they are caught Index: patches/patch-term_c =================================================================== RCS file: /cvs/ports/news/nn/patches/patch-term_c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-term_c --- patches/patch-term_c 17 Nov 2008 08:42:13 -0000 1.1.1.1 +++ patches/patch-term_c 7 Dec 2013 23:04:03 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-term_c,v 1.1.1.1 2008/11/17 08:42:13 jasper Exp $ ---- term.c.orig Sun Jul 20 16:39:03 2008 -+++ term.c Sun Jul 20 16:39:38 2008 +--- term.c.orig Wed Jun 29 23:40:27 2005 ++++ term.c Sat Dec 7 23:50:52 2013 @@ -25,7 +25,7 @@ #include "regexp.h" #include "nn_term.h" @@ -10,3 +10,15 @@ $OpenBSD: patch-term_c,v 1.1.1.1 2008/11 #include <stropts.h> #else #include <sys/ioctl.h> +@@ -74,9 +74,9 @@ extern int s_resized; + + #else + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) + #include <sgtty.h> +-#endif /* __FreeBSD__ */ ++#endif + + #endif +