diff options
author | John Marino <marino@FreeBSD.org> | 2016-08-23 15:29:09 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-08-23 15:29:09 +0000 |
commit | 96aa446b358bc06851dc6d487ba16d5eb94af7e5 (patch) | |
tree | 283de5388b655e2c214967ba93d0d2a2116c1467 /games/eif | |
parent | b2870ae5c7c34889343fddb961333aa9383e840e (diff) | |
download | ports-96aa446b358bc06851dc6d487ba16d5eb94af7e5.tar.gz ports-96aa446b358bc06851dc6d487ba16d5eb94af7e5.zip |
Notes
Diffstat (limited to 'games/eif')
-rw-r--r-- | games/eif/Makefile | 5 | ||||
-rw-r--r-- | games/eif/files/patch-src_games.c | 18 |
2 files changed, 21 insertions, 2 deletions
diff --git a/games/eif/Makefile b/games/eif/Makefile index b5a23a5984ef..8d05c2638fd8 100644 --- a/games/eif/Makefile +++ b/games/eif/Makefile @@ -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 <bsd.port.pre.mk> @@ -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 <bsd.port.post.mk> diff --git a/games/eif/files/patch-src_games.c b/games/eif/files/patch-src_games.c new file mode 100644 index 000000000000..7f3c4663fbf9 --- /dev/null +++ b/games/eif/files/patch-src_games.c @@ -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 <unistd.h> + #endif /* HAVE_UNISTD_H */ ++#include <errno.h> + + #include "cntl.h" + #include "data.h" + #include "games.h" + #include "print.h" + +-extern int errno; +- + #define MAX_GAMES 50 + + typedef struct { |