3.4.0-gcc-4.3.patch 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. diff --git a/src/bin/mcscf/block_matrix.cc b/src/bin/mcscf/block_matrix.cc
  2. index fe1e131..3ad0bcd 100644
  3. --- a/src/bin/mcscf/block_matrix.cc
  4. +++ b/src/bin/mcscf/block_matrix.cc
  5. @@ -1,6 +1,7 @@
  6. #include "block_matrix.h"
  7. #include "matrix_base.h"
  8. #include "memory_manager.h"
  9. +#include <cstdio>
  10. extern FILE* outfile;
  11. diff --git a/src/bin/mcscf/block_vector.cc b/src/bin/mcscf/block_vector.cc
  12. index fb383c7..36f55d4 100644
  13. --- a/src/bin/mcscf/block_vector.cc
  14. +++ b/src/bin/mcscf/block_vector.cc
  15. @@ -1,6 +1,7 @@
  16. #include "block_vector.h"
  17. #include "vector_base.h"
  18. #include "memory_manager.h"
  19. +#include <cstdio>
  20. extern FILE* outfile;
  21. diff --git a/src/bin/mcscf/sblock_matrix.cc b/src/bin/mcscf/sblock_matrix.cc
  22. index 61aa7cc..4da4263 100644
  23. --- a/src/bin/mcscf/sblock_matrix.cc
  24. +++ b/src/bin/mcscf/sblock_matrix.cc
  25. @@ -1,4 +1,5 @@
  26. #include <cstdlib>
  27. +#include <cstdio>
  28. #include <psifiles.h>
  29. #include "sblock_matrix.h"
  30. @@ -103,4 +104,4 @@ void SBlockMatrix::check(const char* cstr)
  31. }
  32. }
  33. -}}
  34. \ No newline at end of file
  35. +}}
  36. diff --git a/src/bin/mcscf/sblock_vector.cc b/src/bin/mcscf/sblock_vector.cc
  37. index 63c3926..f24fc5b 100644
  38. --- a/src/bin/mcscf/sblock_vector.cc
  39. +++ b/src/bin/mcscf/sblock_vector.cc
  40. @@ -1,4 +1,5 @@
  41. #include <cstdlib>
  42. +#include <cstdio>
  43. #include <psifiles.h>
  44. #include "sblock_vector.h"
  45. @@ -58,4 +59,4 @@ void SBlockVector::check(const char* cstr)
  46. }
  47. }
  48. -}}
  49. \ No newline at end of file
  50. +}}
  51. diff --git a/src/bin/mcscf/scf.cc b/src/bin/mcscf/scf.cc
  52. index 77318fd..7d1e17f 100644
  53. --- a/src/bin/mcscf/scf.cc
  54. +++ b/src/bin/mcscf/scf.cc
  55. @@ -5,6 +5,7 @@
  56. #include <iostream>
  57. #include <cmath>
  58. +#include <cstdio>
  59. extern FILE* outfile;
  60. diff --git a/src/bin/mcscf/scf_Feff.cc b/src/bin/mcscf/scf_Feff.cc
  61. index 584aa83..8a99c3b 100644
  62. --- a/src/bin/mcscf/scf_Feff.cc
  63. +++ b/src/bin/mcscf/scf_Feff.cc
  64. @@ -1,4 +1,5 @@
  65. #include <liboptions/liboptions.h>
  66. +#include <cstdio>
  67. #include "scf.h"
  68. diff --git a/src/bin/mcscf/scf_canonicalize_MO.cc b/src/bin/mcscf/scf_canonicalize_MO.cc
  69. index a2b3915..96bb6cc 100644
  70. --- a/src/bin/mcscf/scf_canonicalize_MO.cc
  71. +++ b/src/bin/mcscf/scf_canonicalize_MO.cc
  72. @@ -1,6 +1,7 @@
  73. #include "scf.h"
  74. #include <liboptions/liboptions.h>
  75. +#include <cstdio>
  76. namespace psi{ namespace mcscf{
  77. diff --git a/src/bin/mcscf/scf_check_orthonormality.cc b/src/bin/mcscf/scf_check_orthonormality.cc
  78. index 63fbbbb..a13436c 100644
  79. --- a/src/bin/mcscf/scf_check_orthonormality.cc
  80. +++ b/src/bin/mcscf/scf_check_orthonormality.cc
  81. @@ -1,5 +1,6 @@
  82. #include <iostream>
  83. #include <cmath>
  84. +#include <cstdio>
  85. #include "scf.h"
  86. diff --git a/src/bin/mcscf/scf_compute_energy.cc b/src/bin/mcscf/scf_compute_energy.cc
  87. index fe7ee6d..20194eb 100644
  88. --- a/src/bin/mcscf/scf_compute_energy.cc
  89. +++ b/src/bin/mcscf/scf_compute_energy.cc
  90. @@ -1,4 +1,5 @@
  91. #include <iostream>
  92. +#include <cstdio>
  93. #include "scf.h"
  94. diff --git a/src/bin/mcscf/scf_diis.cc b/src/bin/mcscf/scf_diis.cc
  95. index 9bcde15..261492a 100644
  96. --- a/src/bin/mcscf/scf_diis.cc
  97. +++ b/src/bin/mcscf/scf_diis.cc
  98. @@ -1,4 +1,5 @@
  99. #include <iostream>
  100. +#include <cstdio>
  101. #include <liboptions/liboptions.h>
  102. diff --git a/src/bin/mcscf/scf_iterate_scf_equations.cc b/src/bin/mcscf/scf_iterate_scf_equations.cc
  103. index 9e96360..3a3acc3 100644
  104. --- a/src/bin/mcscf/scf_iterate_scf_equations.cc
  105. +++ b/src/bin/mcscf/scf_iterate_scf_equations.cc
  106. @@ -1,6 +1,7 @@
  107. #include <cstdlib>
  108. #include <iostream>
  109. #include <cmath>
  110. +#include <cstdio>
  111. #include <liboptions/liboptions.h>
  112. diff --git a/src/bin/mcscf/scf_pairs.cc b/src/bin/mcscf/scf_pairs.cc
  113. index b0a8c9d..af5fc35 100644
  114. --- a/src/bin/mcscf/scf_pairs.cc
  115. +++ b/src/bin/mcscf/scf_pairs.cc
  116. @@ -1,4 +1,5 @@
  117. #include <iostream>
  118. +#include <cstdio>
  119. #include <libmoinfo/libmoinfo.h>
  120. diff --git a/src/bin/mcscf/scf_print_eigenvectors_and_MO.cc b/src/bin/mcscf/scf_print_eigenvectors_and_MO.cc
  121. index 3aac92a..e28e9e3 100644
  122. --- a/src/bin/mcscf/scf_print_eigenvectors_and_MO.cc
  123. +++ b/src/bin/mcscf/scf_print_eigenvectors_and_MO.cc
  124. @@ -3,6 +3,7 @@
  125. #include <string>
  126. #include <utility>
  127. #include <algorithm>
  128. +#include <cstdio>
  129. #include <libmoinfo/libmoinfo.h>
  130. diff --git a/src/bin/psimrcc/blas_algorithms.cc b/src/bin/psimrcc/blas_algorithms.cc
  131. index bb36025..0a5a3e2 100644
  132. --- a/src/bin/psimrcc/blas_algorithms.cc
  133. +++ b/src/bin/psimrcc/blas_algorithms.cc
  134. @@ -1,5 +1,6 @@
  135. #include <libmoinfo/libmoinfo.h>
  136. #include <libutil/libutil.h>
  137. +#include <cstdio>
  138. #include "blas.h"
  139. #include "memory_manager.h"
  140. diff --git a/src/bin/psimrcc/blas_compatibile.cc b/src/bin/psimrcc/blas_compatibile.cc
  141. index 8de6d73..7caf4f3 100644
  142. --- a/src/bin/psimrcc/blas_compatibile.cc
  143. +++ b/src/bin/psimrcc/blas_compatibile.cc
  144. @@ -1,6 +1,7 @@
  145. #include "blas.h"
  146. #include <libutil/libutil.h>
  147. #include <cstdlib>
  148. +#include <cstdio>
  149. extern FILE *infile, *outfile;
  150. diff --git a/src/bin/psimrcc/blas_parser.cc b/src/bin/psimrcc/blas_parser.cc
  151. index d211a24..78fe60a 100644
  152. --- a/src/bin/psimrcc/blas_parser.cc
  153. +++ b/src/bin/psimrcc/blas_parser.cc
  154. @@ -3,6 +3,7 @@
  155. #include "debugging.h"
  156. #include <libutil/libutil.h>
  157. #include <algorithm>
  158. +#include <cstdio>
  159. namespace psi{ namespace psimrcc{
  160. diff --git a/src/bin/psimrcc/blas_solve.cc b/src/bin/psimrcc/blas_solve.cc
  161. index b138a5b..f5dcdfc 100644
  162. --- a/src/bin/psimrcc/blas_solve.cc
  163. +++ b/src/bin/psimrcc/blas_solve.cc
  164. @@ -1,6 +1,7 @@
  165. #include "blas.h"
  166. #include "debugging.h"
  167. #include <libmoinfo/libmoinfo.h>
  168. +#include <cstdio>
  169. namespace psi{ namespace psimrcc{
  170. diff --git a/src/bin/psimrcc/index.cc b/src/bin/psimrcc/index.cc
  171. index 3465d88..68c2b77 100644
  172. --- a/src/bin/psimrcc/index.cc
  173. +++ b/src/bin/psimrcc/index.cc
  174. @@ -5,6 +5,7 @@
  175. ***************************************************************************/
  176. #include <iostream>
  177. #include <algorithm>
  178. +#include <cstdio>
  179. #include <libmoinfo/libmoinfo.h>
  180. diff --git a/src/bin/psimrcc/operation.cc b/src/bin/psimrcc/operation.cc
  181. index edbaed5..f4e881f 100644
  182. --- a/src/bin/psimrcc/operation.cc
  183. +++ b/src/bin/psimrcc/operation.cc
  184. @@ -7,6 +7,7 @@
  185. #include "debugging.h"
  186. #include "blas.h"
  187. #include <libutil/libutil.h>
  188. +#include <cstdio>
  189. namespace psi{ namespace psimrcc{
  190. diff --git a/src/bin/psimrcc/operation_compute.cc b/src/bin/psimrcc/operation_compute.cc
  191. index 7d2553c..72a1b39 100644
  192. --- a/src/bin/psimrcc/operation_compute.cc
  193. +++ b/src/bin/psimrcc/operation_compute.cc
  194. @@ -11,6 +11,7 @@
  195. #include "algebra_interface.h"
  196. #include <libmoinfo/libmoinfo.h>
  197. #include <cstdlib>
  198. +#include <cstdio>
  199. extern FILE *infile, *outfile;
  200. diff --git a/src/bin/psimrcc/sort_out_of_core.cc b/src/bin/psimrcc/sort_out_of_core.cc
  201. index 3f255c9..8fa31a3 100644
  202. --- a/src/bin/psimrcc/sort_out_of_core.cc
  203. +++ b/src/bin/psimrcc/sort_out_of_core.cc
  204. @@ -8,6 +8,7 @@
  205. #include "sort.h"
  206. #include "matrix.h"
  207. #include <libmoinfo/libmoinfo.h>
  208. +#include <cstdio>
  209. extern FILE* outfile;
  210. diff --git a/src/lib/libmoinfo/moinfo_model_space.cc b/src/lib/libmoinfo/moinfo_model_space.cc
  211. index 3bf2030..0a63cde 100644
  212. --- a/src/lib/libmoinfo/moinfo_model_space.cc
  213. +++ b/src/lib/libmoinfo/moinfo_model_space.cc
  214. @@ -1,6 +1,7 @@
  215. #include <iostream>
  216. #include <cmath>
  217. #include <cstdlib>
  218. +#include <cstdio>
  219. #include <psifiles.h>
  220. #include <liboptions/liboptions.h>
  221. @@ -322,4 +323,4 @@ vector<string> MOInfo::get_matrix_names(std::string str)
  222. return(names);
  223. }
  224. -}
  225. \ No newline at end of file
  226. +}
  227. diff --git a/src/lib/libmoinfo/moinfo_slaterdeterminant.cc b/src/lib/libmoinfo/moinfo_slaterdeterminant.cc
  228. index 8831cd5..a046679 100644
  229. --- a/src/lib/libmoinfo/moinfo_slaterdeterminant.cc
  230. +++ b/src/lib/libmoinfo/moinfo_slaterdeterminant.cc
  231. @@ -1,4 +1,5 @@
  232. #include <iostream>
  233. +#include <cstdio>
  234. #include "moinfo.h"
  235. extern FILE *infile, *outfile;
  236. diff --git a/src/lib/libutil/stl_string.cc b/src/lib/libutil/stl_string.cc
  237. index 0ec247d..f719dcd 100644
  238. --- a/src/lib/libutil/stl_string.cc
  239. +++ b/src/lib/libutil/stl_string.cc
  240. @@ -2,6 +2,7 @@
  241. #include <cmath>
  242. #include <iomanip>
  243. #include <algorithm>
  244. +#include <cstdio>
  245. #include "libutil.h"