From owner-svn-ports-head@freebsd.org Tue Aug 23 15:29:11 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36477BC33DE; Tue, 23 Aug 2016 15:29:11 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E30C81228; Tue, 23 Aug 2016 15:29:10 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7NFTAcu033459; Tue, 23 Aug 2016 15:29:10 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7NFTAIo033457; Tue, 23 Aug 2016 15:29:10 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608231529.u7NFTAIo033457@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 23 Aug 2016 15:29:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420701 - in head/games/eif: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 15:29:11 -0000 Author: marino Date: Tue Aug 23 15:29:09 2016 New Revision: 420701 URL: https://svnweb.freebsd.org/changeset/ports/420701 Log: games/eif: Document and fix ncurses requirement, use errno.h The ncurses work is covered by the ncurses infrastructure blanket and the use of errno.h header over extern errno is "just fix it". Added: head/games/eif/files/ head/games/eif/files/patch-src_games.c (contents, props changed) Modified: head/games/eif/Makefile Modified: head/games/eif/Makefile ============================================================================== --- head/games/eif/Makefile Tue Aug 23 15:28:53 2016 (r420700) +++ head/games/eif/Makefile Tue Aug 23 15:29:09 2016 (r420701) @@ -3,7 +3,7 @@ PORTNAME= eif PORTVERSION= 1.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games ipv6 MASTER_SITES= http://www.stack.nl/~marcolz/empire/ \ ftp://ftp.stack.nl/pub/users/johans/eif/ @@ -12,7 +12,7 @@ MAINTAINER= johans@FreeBSD.org COMMENT= Empire text client GNU_CONFIGURE= yes -USES= shebangfix readline +USES= ncurses readline shebangfix SHEBANG_FILES= contrib/*.pl .include @@ -21,5 +21,6 @@ post-patch: @${REINPLACE_CMD} -e '/curout_isapipe/d' ${WRKSRC}/src/data.h @${REINPLACE_CMD} -e '/cd .(pkglibdir)/s/cd /&$$(DESTDIR)/' \ ${WRKSRC}/contrib/Makefile.in + @${REINPLACE_CMD} -e 's@lcurses@lncurses@g' ${WRKSRC}/configure .include Added: head/games/eif/files/patch-src_games.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/eif/files/patch-src_games.c Tue Aug 23 15:29:09 2016 (r420701) @@ -0,0 +1,18 @@ +--- src/games.c.orig 2003-09-25 15:54:27 UTC ++++ src/games.c +@@ -25,14 +25,13 @@ + #ifdef HAVE_UNISTD_H + #include + #endif /* HAVE_UNISTD_H */ ++#include + + #include "cntl.h" + #include "data.h" + #include "games.h" + #include "print.h" + +-extern int errno; +- + #define MAX_GAMES 50 + + typedef struct {