svn commit: r482126 - head/games/nxengine

Nikolai Lifanov lifanov at FreeBSD.org
Mon Oct 15 00:13:07 UTC 2018


Author: lifanov
Date: Mon Oct 15 00:13:06 2018
New Revision: 482126
URL: https://svnweb.freebsd.org/changeset/ports/482126

Log:
  unbreak games/nxengine on powerpc64 and others
  
  PR:		232016
  Submitted by:	Piotr Kubaj

Modified:
  head/games/nxengine/Makefile

Modified: head/games/nxengine/Makefile
==============================================================================
--- head/games/nxengine/Makefile	Sun Oct 14 23:17:19 2018	(r482125)
+++ head/games/nxengine/Makefile	Mon Oct 15 00:13:06 2018	(r482126)
@@ -2,8 +2,8 @@
 
 PORTNAME=	nxengine
 PORTVERSION=	2.6.3
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES+=	https://www.cavestory.org/downloads/:data \
 		SF/lifanov-ports-distfiles/games/${PORTNAME}/:icons
@@ -23,21 +23,19 @@ LICENSE_PERMS_FREEWARE=	dist-mirror pkg-mirror auto-ac
 LICENSE_DISTFILES_GPLv3=	${DISTFILES:[3]}
 LICENSE_DISTFILES_FREEWARE=	${DISTFILES:[2]:S/:data//}
 
-BROKEN_aarch64=		fails to compile: player.cpp:763:50: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
-BROKEN_armv6=		fails to compile: player.cpp:763:50: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
-BROKEN_armv7=		fails to compile: player.cpp:763:50: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
-
 LIB_DEPENDS=	libpng.so:graphics/png
 
-DESKTOP_ENTRIES="NXEngine" "" "${PORTNAME}" \
-		"${PORTNAME}" "Game;AdventureGame;" ""
-
 USES=		cmake:outsource compiler:c++11-lang
+
 USE_SDL=	mixer2 sdl2
 SUB_FILES=	${PORTNAME}
+CXXFLAGS+=	-Wno-error-narrowing
 
 USE_GITHUB=	yes
 GH_PROJECT=	${PORTNAME}-evo
+
+DESKTOP_ENTRIES="NXEngine" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;AdventureGame;" ""
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}


More information about the svn-ports-all mailing list