summaryrefslogtreecommitdiff
path: root/games-util/dfarc/files/dfarc-3.14-wxString.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/dfarc/files/dfarc-3.14-wxString.patch')
-rw-r--r--games-util/dfarc/files/dfarc-3.14-wxString.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-util/dfarc/files/dfarc-3.14-wxString.patch b/games-util/dfarc/files/dfarc-3.14-wxString.patch
new file mode 100644
index 000000000000..9eb7bd3ddffe
--- /dev/null
+++ b/games-util/dfarc/files/dfarc-3.14-wxString.patch
@@ -0,0 +1,12 @@
+diff -Nur dfarc-3.14/src/Tar.cpp new/src/Tar.cpp
+--- dfarc-3.14/src/Tar.cpp 2018-06-05 23:18:34.000000000 +0200
++++ new/src/Tar.cpp 2019-02-02 02:41:40.128841786 +0100
+@@ -610,7 +610,7 @@
+ if (lLastCharacter != '\\' && lLastCharacter != '/')
+ {
+ // Open the file.
+- std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath);
++ std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath.mb_str());
+ if (!lStreamOut->good())
+ {
+ wxLogError(_("Error: Improperly archived file '%s'. Skipping."), lCurrentFilePath);