Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 13:33:14 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518649 - in head/games/stuntrally: . files
Message-ID:  <201911291333.xATDXEcu070839@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Nov 29 13:33:14 2019
New Revision: 518649
URL: https://svnweb.freebsd.org/changeset/ports/518649

Log:
  games/stuntrally: fix build on PPC with clang and ARM
  
  Upstream PR:
  https://github.com/stuntrally/stuntrally/pull/18
  
  We had until now CXXFLAGS_gcc=-Wno-narrowing, but it looks like this was incorrect because it did not fix the original issue.
  
  PR:		242272
  Approved by:	linimon (mentor), amdmi3 (maintainer)

Added:
  head/games/stuntrally/files/patch-source_editor_CApp.h   (contents, props changed)
Modified:
  head/games/stuntrally/Makefile

Modified: head/games/stuntrally/Makefile
==============================================================================
--- head/games/stuntrally/Makefile	Fri Nov 29 13:23:21 2019	(r518648)
+++ head/games/stuntrally/Makefile	Fri Nov 29 13:33:14 2019	(r518649)
@@ -57,9 +57,6 @@ MASTER_SERVER_CMAKE_BOOL=	BUILD_MASTER_SERVER
 MASTER_SERVER_DESC=		Build the master server
 MASTER_SERVER_LIB_DEPENDS=	libenet.so:net/enet
 
-CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
-CXXFLAGS_gcc=	-Wno-narrowing
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/

Added: head/games/stuntrally/files/patch-source_editor_CApp.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/stuntrally/files/patch-source_editor_CApp.h	Fri Nov 29 13:33:14 2019	(r518649)
@@ -0,0 +1,11 @@
+--- source/editor/CApp.h.orig	2019-11-27 17:44:26 UTC
++++ source/editor/CApp.h
+@@ -137,7 +137,7 @@ class App : public BaseApp, (public)
+ 		float Size,Intens,Pow,Fq,NOf;
+ 		int Oct;  EBrShape shape;
+ 		float Filter,HSet;
+-		char newLine;  Ogre::String name;
++		signed char newLine;  Ogre::String name;
+ 	};
+ 
+ 	const static int brSetsNum = 87;



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