summaryrefslogtreecommitdiff
path: root/games-util/dfarc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
commitfaddeff65d652bda3291eba255955adb17f1aa19 (patch)
tree4352e6d85ce48c7c8d96159fad4d3dd90602a70a /games-util/dfarc/files
parent0e7b1da874d923b9f006e0000023f5fa528140a8 (diff)
gentoo auto-resync : 24:11:2023 - 16:33:11
Diffstat (limited to 'games-util/dfarc/files')
-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);