  
  # if using parallel MUMPS, must also link in scalapack and BLACS
  
+diff -ruN trilinos-11.10.2/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h trilinos-11.10.2-new/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h
+--- trilinos-11.10.2/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h	2014-08-14 10:51:28.000000000 -0600
++++ trilinos-11.10.2-new/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h	2014-09-05 13:50:47.927023700 -0600
+@@ -465,7 +465,12 @@
+               if (Randomize_)
+               {
+                 // Add small random pertubation. 
++#ifdef _WIN32
++// See http://stackoverflow.com/questions/11065861/drand48-on-windows
++                weights[k] *= (1.0 + 1e-8 * (double)rand()/RAND_MAX);
++#else
+                 weights[k] *= (1.0 + 1e-8 * drand48());
++#endif
+               }
+ 
+ 	      k++;
 diff -ruN trilinos-11.10.2/packages/ml/src/MLAPI/MLAPI_Workspace.cpp trilinos-11.10.2-new/packages/ml/src/MLAPI/MLAPI_Workspace.cpp
 --- trilinos-11.10.2/packages/ml/src/MLAPI/MLAPI_Workspace.cpp	2014-08-14 10:51:55.000000000 -0600
-+++ trilinos-11.10.2-new/packages/ml/src/MLAPI/MLAPI_Workspace.cpp	2014-09-03 07:16:09.750720287 -0600
++++ trilinos-11.10.2-new/packages/ml/src/MLAPI/MLAPI_Workspace.cpp	2014-09-05 13:50:08.397023700 -0600
 @@ -15,6 +15,8 @@
  #include "MLAPI_Workspace.h"
  #ifdef _MSC_VER

 }
 %}
 
@@ -199,6 +203,7 @@ struct ScalarTraits<unsigned long>
 };
 #endif
 

 
diff -ruN trilinos-11.10.2/packages/seacas/libraries/nemesis/ne_nemesisI.h trilinos-11.10.2-new/packages/seacas/libraries/nemesis/ne_nemesisI.h
--- trilinos-11.10.2/packages/seacas/libraries/nemesis/ne_nemesisI.h	2014-08-14 10:51:45.000000000 -0600
+++ trilinos-11.10.2-new/packages/seacas/libraries/nemesis/ne_nemesisI.h	2014-09-05 13:50:08.427023700 -0600
@@ -46,7 +46,12 @@
 #endif
 
