$NetBSD$

Hack insane C++ so gcc 4.5 accepts it. No idea if this works. No idea
if it worked before I touched it, either.

--- Amaya/thotlib/base/platform.c.orig	2009-12-02 11:23:07.000000000 +0000
+++ Amaya/thotlib/base/platform.c
@@ -329,9 +329,9 @@ ThotBool TtaFileCopy (CONST char *source
     {
       tmp = (char *)TtaGetMemory (strlen(targetFileName)+10);
       sprintf (tmp, "%s.tmp", targetFileName);
-      wxFile::wxFile (targetFile, wxFile::write);
+      wxFile targetFileFile (targetFile, wxFile::write);
       tmpFile = TtaConvMessageToWX(tmp);
-      wxFile::wxFile (tmpFile, wxFile::write);
+      wxFile tmpFileFile (tmpFile, wxFile::write);
       result = wxFile::Exists(targetFile);
       if (result)
         result = wxConcatFiles (tmpFile, sourceFile, targetFile);
