Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 00:13:06 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482126 - head/games/nxengine
Message-ID:  <201810150013.w9F0D6UA055393@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810150013.w9F0D6UA055393>