Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 13:51:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434937 - in head/games/d2x-xl: . files
Message-ID:  <201702271351.v1RDpSfM095373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 27 13:51:28 2017
New Revision: 434937
URL: https://svnweb.freebsd.org/changeset/ports/434937

Log:
  - Switch to USES=autoreconf
  - Fix build with clang 4.0 (
  
  PR:		216639
  Reported by:	jbeich@FreeBSD.org
  Approved by:	maintainer timeout (aragon@phat.za.net, 4 weeks)

Added:
  head/games/d2x-xl/files/patch-objects_reactor.cpp   (contents, props changed)
Modified:
  head/games/d2x-xl/Makefile

Modified: head/games/d2x-xl/Makefile
==============================================================================
--- head/games/d2x-xl/Makefile	Mon Feb 27 13:44:30 2017	(r434936)
+++ head/games/d2x-xl/Makefile	Mon Feb 27 13:51:28 2017	(r434937)
@@ -24,9 +24,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug --enable-release=yes \
 		--with-sharepath=${PREFIX}/share/d2x-xl
 USE_SDL=	sdl mixer image
-USES=		dos2unix gmake motif
-USE_AUTOTOOLS=	aclocal autoheader automake autoconf
-AUTOMAKE_ARGS=	--add-missing --copy
+USES=		autoreconf dos2unix gmake motif
 
 DOS2UNIX_FILES=	missing depcomp
 

Added: head/games/d2x-xl/files/patch-objects_reactor.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/d2x-xl/files/patch-objects_reactor.cpp	Mon Feb 27 13:51:28 2017	(r434937)
@@ -0,0 +1,11 @@
+--- objects/reactor.cpp.orig	2017-02-01 15:11:32 UTC
++++ objects/reactor.cpp
+@@ -184,7 +184,7 @@ else {
+ 
+ void InitCountdown (CTrigger *trigP, int bReactorDestroyed, int nTimer)
+ {
+-if (trigP && (trigP->m_info.time > 0))
++if (trigP && trigP->m_info.time)
+ 	gameData.reactor.countdown.nTotalTime = trigP->m_info.time [0];
+ else if (gameStates.app.nBaseCtrlCenExplTime != DEFAULT_CONTROL_CENTER_EXPLOSION_TIME)
+ 	gameData.reactor.countdown.nTotalTime = 



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