svn commit: r434937 - in head/games/d2x-xl: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Feb 27 13:51:29 UTC 2017
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 at FreeBSD.org
Approved by: maintainer timeout (aragon at 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 =
More information about the svn-ports-head
mailing list