Bug#366741: patch

Robert Millan rmh at aybabtu.com
Sun Aug 20 18:33:50 UTC 2006


Or perhaps, since in Debian this is only useful for our amd64 port, it could be
enclosed in "#ifdef __x86_64__".  See new patch.

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.
-------------- next part --------------
diff -ur boinc-5.4.10.old/client/client_state.C boinc-5.4.10/client/client_state.C
--- boinc-5.4.10.old/client/client_state.C	2006-05-23 02:03:15.000000000 +0200
+++ boinc-5.4.10/client/client_state.C	2006-08-20 20:33:17.000000000 +0200
@@ -331,6 +331,9 @@
     // This could happen e.g. if user copies files from PPC to Intel Mac
     //
     if (strcmp(platform_name, statefile_platform_name.c_str())) {
+#ifdef __x86_64__
+        platform_name = strdup (statefile_platform_name.c_str());
+#else
         msg_printf(NULL, MSG_INFO,
             "Platform changed from %s to %s - resetting projects",
             statefile_platform_name.c_str(), platform_name
@@ -339,6 +342,7 @@
             p = projects[i];
             reset_project(p);
         }
+#endif
     }
 
     return 0;


More information about the pkg-boinc-devel mailing list