summaryrefslogtreecommitdiff
path: root/community/amaya/amaya-fix-thotlib-wxfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/amaya/amaya-fix-thotlib-wxfile.patch')
-rw-r--r--community/amaya/amaya-fix-thotlib-wxfile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/amaya/amaya-fix-thotlib-wxfile.patch b/community/amaya/amaya-fix-thotlib-wxfile.patch
new file mode 100644
index 000000000..537419040
--- /dev/null
+++ b/community/amaya/amaya-fix-thotlib-wxfile.patch
@@ -0,0 +1,16 @@
+diff -aur Amaya11.3.1/Amaya/thotlib/base/platform.c Amaya11.3.1.new/Amaya/thotlib/base/platform.c
+--- Amaya11.3.1/Amaya/thotlib/base/platform.c 2009-12-02 12:23:07.000000000 +0100
++++ Amaya11.3.1.new/Amaya/thotlib/base/platform.c 2010-08-17 21:37:25.699840595 +0200
+@@ -329,9 +329,9 @@
+ {
+ tmp = (char *)TtaGetMemory (strlen(targetFileName)+10);
+ sprintf (tmp, "%s.tmp", targetFileName);
+- wxFile::wxFile (targetFile, wxFile::write);
++ wxFile (targetFile, wxFile::write);
+ tmpFile = TtaConvMessageToWX(tmp);
+- wxFile::wxFile (tmpFile, wxFile::write);
++ wxFile (tmpFile, wxFile::write);
+ result = wxFile::Exists(targetFile);
+ if (result)
+ result = wxConcatFiles (tmpFile, sourceFile, targetFile);
+