openbsd-ports/games/nethack/patches/patch-sys_share_unixtty_c
espie 904f792ffe zap duplicate symbol that impairs static linking.
This should fix build on vaxen (problem reported by Zachary Kline).
2006-10-14 10:01:09 +00:00

13 lines
563 B
Plaintext

$OpenBSD: patch-sys_share_unixtty_c,v 1.1 2006/10/14 10:01:09 espie Exp $
--- sys/share/unixtty.c.orig Sat Oct 14 11:31:59 2006
+++ sys/share/unixtty.c Sat Oct 14 11:32:33 2006
@@ -121,7 +121,7 @@ struct tchars inittyb2, curttyb2;
#endif /* V7 */
-#if defined(TTY_GRAPHICS) && ((!defined(SYSV) && !defined(HPUX)) || defined(UNIXPC) || defined(SVR4))
+#if defined(TTY_GRAPHICS) && ((!defined(SYSV) && !defined(HPUX)) || defined(UNIXPC) || defined(SVR4)) || defined(__OpenBSD__)
# ifndef LINT
extern /* it is defined in libtermlib (libtermcap) */
# endif