From owner-svn-ports-all@freebsd.org Wed Aug 1 13:25:49 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E5F9105C38A; Wed, 1 Aug 2018 13:25:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 447E173E68; Wed, 1 Aug 2018 13:25:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25B1B230EA; Wed, 1 Aug 2018 13:25:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w71DPnoP057210; Wed, 1 Aug 2018 13:25:49 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w71DPnHj057209; Wed, 1 Aug 2018 13:25:49 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808011325.w71DPnHj057209@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 1 Aug 2018 13:25:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476178 - head/sysutils/abgx360gui/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/sysutils/abgx360gui/files X-SVN-Commit-Revision: 476178 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 13:25:49 -0000 Author: tobik Date: Wed Aug 1 13:25:48 2018 New Revision: 476178 URL: https://svnweb.freebsd.org/changeset/ports/476178 Log: sysutils/abgx360gui: Fix build with Clang 6 src/abgx360gui.cpp:2459:66: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] str = wxT("Your StealthFiles folder is located here:"NEWLINE); ^ beefy12.nyi.freebsd.org/data/head-amd64-default/p475964_s336959/logs/errors/abgx360gui-1.0.2_7.log Added: head/sysutils/abgx360gui/files/ head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp (contents, props changed) Added: head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp Wed Aug 1 13:25:48 2018 (r476178) @@ -0,0 +1,51 @@ +src/abgx360gui.cpp:2459:66: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + str = wxT("Your StealthFiles folder is located here:"NEWLINE); + ^ + +--- src/abgx360gui.cpp.orig 2018-08-01 13:21:47 UTC ++++ src/abgx360gui.cpp +@@ -1007,7 +1007,7 @@ void abgx360gui::OnClose(wxCloseEvent& WXUNUSED(event) + void abgx360gui::MnuSaveSettingsClick(wxCommandEvent& WXUNUSED(event)) + { + wxString name = wxT("/Settings/"); +- name += wxGetTextFromUser(wxT("Enter a name for these settings. Saving them as \"Default\" will"NEWLINE"cause them to be loaded every time abgx360 GUI is launched."), wxT("Save Settings"), wxT("Default")); ++ name += wxGetTextFromUser(wxT("Enter a name for these settings. Saving them as \"Default\" will" NEWLINE "cause them to be loaded every time abgx360 GUI is launched."), wxT("Save Settings"), wxT("Default")); + + if (name.Cmp(wxT("/Settings/")) == 0) return; + +@@ -1908,7 +1908,7 @@ void abgx360gui::OpenButtonClick(wxCommandEvent& WXUNU + //m_fileHistory->AddFileToHistory(openfilename); + count = arrayStringFor_OpenFileDialog.GetCount(); + if (count > 100) { +- wxMessageBox(wxT("You have selected over 100 files!"NEWLINE"This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); ++ wxMessageBox(wxT("You have selected over 100 files!" NEWLINE "This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); + return; + } + if (count) { +@@ -2456,7 +2456,7 @@ void abgx360gui::WhereStealthFilesClick(wxCommandEvent + homedir += wxT("\\abgx360\\"); + #else + if (wxGetEnv(wxT("ABGX360_DIR"), &homedir) || wxGetEnv(wxT("HOME"), &homedir)) { +- str = wxT("Your StealthFiles folder is located here:"NEWLINE); ++ str = wxT("Your StealthFiles folder is located here:" NEWLINE); + } + else { + wxMessageBox(wxT("ERROR: Unable to find your StealthFiles folder!"), wxT("Where is my StealthFiles folder?"), wxOK); +@@ -2503,7 +2503,7 @@ void abgx360gui::WhereImagesClick(wxCommandEvent& even + homedir += wxT("\\abgx360\\"); + #else + if (wxGetEnv(wxT("ABGX360_DIR"), &homedir) || wxGetEnv(wxT("HOME"), &homedir)) { +- str = wxT("Your Images folder is located here:"NEWLINE); ++ str = wxT("Your Images folder is located here:" NEWLINE); + } + else { + wxMessageBox(wxT("ERROR: Unable to find your Images folder!"), wxT("Where is my Images folder?"), wxOK); +@@ -2567,7 +2567,7 @@ bool DnDInput::OnDropFiles(wxCoord, wxCoord, const wxA + if (realcount) { + dndeditbox->AppendText(wxT(" ")); + if (realcount >= 100) { +- wxMessageBox(wxT("You have selected over 100 files!"NEWLINE"This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); ++ wxMessageBox(wxT("You have selected over 100 files!" NEWLINE "This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); + dndeditbox->Clear(); + return false; + }