From f223aa29cf81760084f6c88192477257005df5e1 Mon Sep 17 00:00:00 2001 From: nemoliu Date: Thu, 17 Dec 2009 16:45:05 +0000 Subject: - Make it unbreak on -CURRENT PR: ports/141673 Submitted by: Ulrich Spoerlein (maintainer) --- games/bsdgames/Makefile | 1 + games/bsdgames/files/patch-warns | 40 ---------------------------------------- games/bsdgames/pkg-plist | 1 + 3 files changed, 2 insertions(+), 40 deletions(-) (limited to 'games/bsdgames') diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile index 9fd6f8c2d984..1771f656b6ea 100644 --- a/games/bsdgames/Makefile +++ b/games/bsdgames/Makefile @@ -19,6 +19,7 @@ COMMENT= Traditional BSD games taken from DragonFly BSD WRKSRC= ${WRKDIR}/dragonfly USE_BZIP2= yes +MAKE_ENV+= NO_WERROR=1 MAN6= adventure.6 \ arithmetic.6 \ atc.6 \ diff --git a/games/bsdgames/files/patch-warns b/games/bsdgames/files/patch-warns index 2f2c11b131ab..e69de29bb2d1 100644 --- a/games/bsdgames/files/patch-warns +++ b/games/bsdgames/files/patch-warns @@ -1,40 +0,0 @@ ---- ./atc/Makefile -+++ ./atc/Makefile -@@ -4,6 +4,7 @@ - - PROG= atc - CFLAGS+=-I${.CURDIR} -I. -+WARNS?= 2 - SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \ - main.c tunable.c update.c y.tab.h - MAN= atc.6 ---- ./atc/include.h -+++ ./atc/include.h -@@ -56,6 +56,7 @@ - #include - #include - #include -+#include - #include - #include - #include ---- ./hack/Makefile -+++ ./hack/Makefile -@@ -19,6 +19,7 @@ MAN= hack.6 - DPADD= ${LIBTERMCAP} - LDADD= -ltermcap - CFLAGS+= -I${.CURDIR} -I. -+WARNS?= 3 # shadowed 'u' variable, blame sys/stat.h :/ - FILES= rumors help hh data - FILESMODE_rumors= 440 - FILESGRP= ${BINGRP} ---- ./rogue/Makefile -+++ ./rogue/Makefile -@@ -4,6 +4,7 @@ - - PROG= rogue - CFLAGS+=-DUNIX -+WARNS?= 1 - SRCS= hit.c init.c inventory.c level.c machdep.c main.c \ - message.c monster.c move.c object.c pack.c play.c random.c ring.c \ - room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c diff --git a/games/bsdgames/pkg-plist b/games/bsdgames/pkg-plist index cd71d3ecdba2..56ed352ce4a2 100644 --- a/games/bsdgames/pkg-plist +++ b/games/bsdgames/pkg-plist @@ -114,6 +114,7 @@ phantasia/motd phantasia/scoreboard @dirrmtry phantasia @exec chmod 0775 %D/phantasia +@comment atc_score battlestar.log cfscores criblog -- cgit