svn commit: r403102 - head/comms/trustedqsl/files
Stephen Hurd
shurd at FreeBSD.org
Sun Dec 6 11:14:48 UTC 2015
Author: shurd
Date: Sun Dec 6 11:14:46 2015
New Revision: 403102
URL: https://svnweb.freebsd.org/changeset/ports/403102
Log:
Simply remove test per upstream suggestion.
This allows builds against wxWidgets 3.0+ to succeed.
Modified:
head/comms/trustedqsl/files/patch-apps_tqsl.cpp
Modified: head/comms/trustedqsl/files/patch-apps_tqsl.cpp
==============================================================================
--- head/comms/trustedqsl/files/patch-apps_tqsl.cpp Sun Dec 6 11:13:01 2015 (r403101)
+++ head/comms/trustedqsl/files/patch-apps_tqsl.cpp Sun Dec 6 11:14:46 2015 (r403102)
@@ -5,7 +5,7 @@
origCommandLine += wxT(" ");
origCommandLine += argv[i];
- if (argv[i] && (argv[i][0] == wxT('-') || argv[i][0] == wxT('/')))
-+ if (argv[i] != NULL && (argv[i][0] == wxT('-') || argv[i][0] == wxT('/')))
++ if ((argv[i][0] == wxT('-') || argv[i][0] == wxT('/')))
if (wxIsalpha(argv[i][1]) && wxIsupper(argv[i][1]))
argv[i][1] = wxTolower(argv[i][1]);
}
More information about the svn-ports-head
mailing list