Date: Sun, 6 Dec 2015 11:14:46 +0000 (UTC) From: Stephen Hurd <shurd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403102 - head/comms/trustedqsl/files Message-ID: <201512061114.tB6BEkN3057424@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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]); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512061114.tB6BEkN3057424>