svn commit: r432974 - in head/games/qtads: . files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 05:26:24 UTC 2017
Author: jbeich
Date: Wed Feb 1 05:26:22 2017
New Revision: 432974
URL: https://svnweb.freebsd.org/changeset/ports/432974
Log:
games/qtads: unbreak with clang 4.0
tads3/vmtz.cpp:1985:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int')
result->set(tcur > 0 ? tcur - 1 : tcur);
~~~~ ^ ~
PR: 216357
Reported by: antoine (via exp-run)
Submitted by: kaiwang27 at gmail.com (maintainer)
Added:
head/games/qtads/files/patch-tads3_vmtz.cpp (contents, props changed)
Modified:
head/games/qtads/Makefile (contents, props changed)
Modified: head/games/qtads/Makefile
==============================================================================
--- head/games/qtads/Makefile Wed Feb 1 05:26:09 2017 (r432973)
+++ head/games/qtads/Makefile Wed Feb 1 05:26:22 2017 (r432974)
@@ -3,7 +3,7 @@
PORTNAME= qtads
PORTVERSION= 2.1.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-2.x/${PORTVERSION}
Added: head/games/qtads/files/patch-tads3_vmtz.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/qtads/files/patch-tads3_vmtz.cpp Wed Feb 1 05:26:22 2017 (r432974)
@@ -0,0 +1,11 @@
+--- tads3/vmtz.cpp.orig 2012-08-31 05:09:31 UTC
++++ tads3/vmtz.cpp
+@@ -1982,7 +1982,7 @@ void CVmTimeZone::query(vmtzquery *resul
+ * the transition in terms of the local time that was in effect
+ * up until that moment
+ */
+- result->set(tcur > 0 ? tcur - 1 : tcur);
++ result->set(cur > 0 ? tcur - 1 : tcur);
+ return;
+ }
+ }
More information about the svn-ports-all
mailing list