svn commit: r474831 - branches/2018Q3/games/dungeoncrawl
Jan Beich
jbeich at FreeBSD.org
Wed Jul 18 02:56:43 UTC 2018
Author: jbeich
Date: Wed Jul 18 02:56:42 2018
New Revision: 474831
URL: https://svnweb.freebsd.org/changeset/ports/474831
Log:
MFH: r474830
games/dungeoncrawl: unbreak with Clang 6
direct.cc:47:32: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
^~
describe.cc:216:28: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (proprt[ RAP_FIRE ] < -2)
~~~~~~~~~~~~~~~~~~ ^ ~~
PR: 229723
Submitted by: Greg V
Reported by: pkg-fallout
Approved by: ports-secteam blanket
Modified:
branches/2018Q3/games/dungeoncrawl/Makefile
Directory Properties:
branches/2018Q3/ (props changed)
Modified: branches/2018Q3/games/dungeoncrawl/Makefile
==============================================================================
--- branches/2018Q3/games/dungeoncrawl/Makefile Wed Jul 18 02:55:33 2018 (r474830)
+++ branches/2018Q3/games/dungeoncrawl/Makefile Wed Jul 18 02:56:42 2018 (r474831)
@@ -14,6 +14,8 @@ COMMENT= Old school roguelike game
WRKSRC_SUBDIR= source
USES= ncurses tar:tbz2
+USE_CXXSTD= gnu++98
+CXXFLAGS+= -fsigned-char
MAKEFILE= makefile.bsd
PORTDOCS= buglist.txt crawl.txt
More information about the svn-ports-branches
mailing list