zap duplicate symbol that impairs static linking.

This should fix build on vaxen (problem reported by Zachary Kline).
This commit is contained in:
espie 2006-10-14 10:01:09 +00:00
parent 5590ff2a91
commit 904f792ffe
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.40 2006/02/11 16:15:46 otto Exp $ # $OpenBSD: Makefile,v 1.41 2006/10/14 10:01:09 espie Exp $
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $ # $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
COMMENT= "dungeon explorin', hackin', game. Piece of cake" COMMENT= "dungeon explorin', hackin', game. Piece of cake"
V=3.4.3 V=3.4.3
DISTNAME= nethack-$V DISTNAME= nethack-$V
PKGNAME= ${DISTNAME}p0 PKGNAME= ${DISTNAME}p1
CATEGORIES= games CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nethack/} \ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nethack/} \

View File

@ -0,0 +1,12 @@
$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