summaryrefslogtreecommitdiffstats
path: root/development/amaya/amaya_gcc45x.patch
diff options
context:
space:
mode:
author Niels Horn2011-03-31 04:21:47 +0200
committer Robby Workman2011-03-31 05:52:39 +0200
commitfc2c3fecc01f7cdbc8face70e7dc06d4551e9e7f (patch)
tree00f71184732a7da3c5ceb0aa511e3419257a31ba /development/amaya/amaya_gcc45x.patch
parent63c61669bd39136a2d84cfd345e0dcff960fb993 (diff)
downloadslackbuilds-fc2c3fecc01f7cdbc8face70e7dc06d4551e9e7f.tar.gz
development/amaya: Patched for Slackware 13.37
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/amaya/amaya_gcc45x.patch')
-rw-r--r--development/amaya/amaya_gcc45x.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/development/amaya/amaya_gcc45x.patch b/development/amaya/amaya_gcc45x.patch
new file mode 100644
index 0000000000..e2587e1336
--- /dev/null
+++ b/development/amaya/amaya_gcc45x.patch
@@ -0,0 +1,25 @@
+--- Amaya11.3.1/Amaya/thotlib/base/platform.c 2009-12-02 09:23:07.000000000 -0200
++++ Amaya11.3.1_patched/Amaya/thotlib/base/platform.c 2011-03-25 00:43:18.000000000 -0300
+@@ -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);
+--- Amaya11.3.1/Amaya/amaya/HTMLedit.c 2009-12-09 08:11:22.000000000 -0200
++++ Amaya11.3.1_patched/Amaya/amaya/HTMLedit.c 2011-03-25 01:05:24.000000000 -0300
+@@ -1689,7 +1689,7 @@
+ {
+ #ifdef _WX
+ wxString tmpFile = TtaConvMessageToWX(tempURL);
+- wxFile::wxFile (tmpFile, wxFile::write);
++ wxFile (tmpFile, wxFile::write);
+ #endif /* _WX */
+ }
+ }