openbsd-ports/games/nethack/patches/patch-win_tty_termcap_c

15 lines
383 B
Plaintext

$OpenBSD: patch-win_tty_termcap_c,v 1.1 2010/05/19 07:27:25 espie Exp $
--- win/tty/termcap.c.orig Wed May 19 09:21:20 2010
+++ win/tty/termcap.c Wed May 19 09:21:53 2010
@@ -835,8 +835,10 @@ cl_eos() /* free after Robert Viduya */
#include <curses.h>
+#ifndef __OpenBSD__
#ifndef LINUX
extern char *tparm();
+#endif
#endif
# ifdef COLOR_BLACK /* trust include file */