summaryrefslogtreecommitdiff
path: root/app-misc/roadnav/files/roadnav-0.19-gcc45.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/roadnav/files/roadnav-0.19-gcc45.patch')
-rw-r--r--app-misc/roadnav/files/roadnav-0.19-gcc45.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/app-misc/roadnav/files/roadnav-0.19-gcc45.patch b/app-misc/roadnav/files/roadnav-0.19-gcc45.patch
deleted file mode 100644
index 60e562bfa78..00000000000
--- a/app-misc/roadnav/files/roadnav-0.19-gcc45.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/src/GPSInterface_Serial.cpp b/src/GPSInterface_Serial.cpp
-index c3e9435..fcae209 100644
---- a/src/GPSInterface_Serial.cpp
-+++ b/src/GPSInterface_Serial.cpp
-@@ -243,7 +243,7 @@ IGPSInterface::EGPSStatus GPSInterface_Serial::GetData(wxGPSEvent * pGPSEvent)
-
- // Echo DeLorme Tripmate's and Earthmate's hello message
- LibRoadnavDebug1(wxT("SerialIO"), wxT("Echoing hello message: %s"), strSentence.c_str());
-- sprintf(szOut, "%s\r\n", strSentence.mb_str(*wxConvCurrent));
-+ sprintf(szOut, "%s\r\n", static_cast<const char *>(strSentence.mb_str(*wxConvCurrent)));
- WriteSerial(szOut);
- }
- else if (!VerifyGPSChecksum(strSentence)) // check NMEA validity
-diff --git a/src/TTS_Festival.cpp b/src/TTS_Festival.cpp
-index 8623cb3..2950490 100644
---- a/src/TTS_Festival.cpp
-+++ b/src/TTS_Festival.cpp
-@@ -88,7 +88,7 @@ ITTS::ETTSStatus TTS_Festival::Speak(const wxString & strText)
- ppszArgs[2],
- 64 + strText.Length(),
- wxT("echo \\(SayText \\\"%ss\\\"\\) | festival"),
-- strText.mb_str(*wxConvCurrent)
-+ static_cast<const char *>(strText.mb_str(*wxConvCurrent))
- );
-
- wxExecute(ppszArgs, wxEXEC_SYNC);