mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

196 lines
5.2 KiB

  1. --- ./elab_expr.cc.orig 2008-06-04 21:30:25.000000000 +0000
  2. +++ ./elab_expr.cc 2008-06-04 21:30:35.000000000 +0000
  3. @@ -23,6 +23,8 @@
  4. # include "config.h"
  5. # include "compiler.h"
  6. +# include <string.h>
  7. +
  8. # include "pform.h"
  9. # include "netlist.h"
  10. # include "netmisc.h"
  11. --- ./elab_net.cc.orig 2008-06-04 21:30:51.000000000 +0000
  12. +++ ./elab_net.cc 2008-06-04 21:31:00.000000000 +0000
  13. @@ -28,6 +28,7 @@
  14. # include "compiler.h"
  15. # include <iostream>
  16. +# include <string.h>
  17. /*
  18. * This is a state flag that determines whether an elaborate_net must
  19. --- ./elab_scope.cc.orig 2008-06-04 21:31:31.000000000 +0000
  20. +++ ./elab_scope.cc 2008-06-04 21:31:37.000000000 +0000
  21. @@ -24,6 +24,7 @@
  22. # include "compiler.h"
  23. # include <iostream>
  24. # include <stdio.h>
  25. +# include <string.h>
  26. /*
  27. * Elaboration happens in two passes, generally. The first scans the
  28. --- ./elab_sig.cc.orig 2008-06-04 21:32:02.000000000 +0000
  29. +++ ./elab_sig.cc 2008-06-04 21:32:08.000000000 +0000
  30. @@ -23,6 +23,7 @@
  31. # include "config.h"
  32. # include <iostream>
  33. +# include <stdlib.h>
  34. # include "Module.h"
  35. # include "PExpr.h"
  36. --- ./emit.cc.orig 2008-06-04 21:35:33.000000000 +0000
  37. +++ ./emit.cc 2008-06-04 21:32:29.000000000 +0000
  38. @@ -23,6 +23,7 @@
  39. # include "config.h"
  40. # include <iostream>
  41. +# include <string.h>
  42. /*
  43. * The emit function is called to generate the output required of the
  44. --- ./load_module.cc.orig 2008-06-04 21:35:55.000000000 +0000
  45. +++ ./load_module.cc 2008-06-04 21:36:10.000000000 +0000
  46. @@ -31,6 +31,8 @@
  47. # include <dirent.h>
  48. # include <ctype.h>
  49. # include <assert.h>
  50. +# include <string.h>
  51. +# include <stdlib.h>
  52. /*
  53. * The module library items are maps of key names to file name within
  54. --- ./main.cc.orig 2008-06-04 21:28:29.000000000 +0000
  55. +++ ./main.cc 2008-06-04 21:28:44.000000000 +0000
  56. @@ -48,6 +48,7 @@
  57. # include <map>
  58. # include <unistd.h>
  59. # include <stdlib.h>
  60. +# include <string.h>
  61. #if defined(HAVE_TIMES)
  62. # include <sys/times.h>
  63. #endif
  64. --- ./net_design.cc.orig 2008-06-04 21:41:26.000000000 +0000
  65. +++ ./net_design.cc 2008-06-04 21:41:33.000000000 +0000
  66. @@ -23,6 +23,7 @@
  67. # include "config.h"
  68. # include <iostream>
  69. +# include <string.h>
  70. /*
  71. * This source file contains all the implementations of the Design
  72. --- ./net_link.cc.orig 2008-06-04 21:42:34.000000000 +0000
  73. +++ ./net_link.cc 2008-06-04 21:42:42.000000000 +0000
  74. @@ -23,6 +23,7 @@
  75. # include "config.h"
  76. # include <iostream>
  77. +# include <string.h>
  78. # include "netlist.h"
  79. # include <sstream>
  80. --- ./net_scope.cc.orig 2008-06-04 21:45:28.000000000 +0000
  81. +++ ./net_scope.cc 2008-06-04 21:45:35.000000000 +0000
  82. @@ -25,6 +25,7 @@
  83. # include "netlist.h"
  84. # include <sstream>
  85. +# include <string.h>
  86. /*
  87. * The NetScope class keeps a scope tree organized. Each node of the
  88. --- ./parse.y.orig 2008-06-04 21:48:30.000000000 +0000
  89. +++ ./parse.y 2008-06-04 21:48:38.000000000 +0000
  90. @@ -28,6 +28,7 @@
  91. # include "compiler.h"
  92. # include "pform.h"
  93. # include <sstream>
  94. +# include <string.h>
  95. extern void lex_start_table();
  96. extern void lex_end_table();
  97. --- ./pform.cc.orig 2008-06-04 21:50:52.000000000 +0000
  98. +++ ./pform.cc 2008-06-04 21:51:04.000000000 +0000
  99. @@ -34,6 +34,8 @@
  100. # include <assert.h>
  101. # include <typeinfo>
  102. # include <sstream>
  103. +# include <string.h>
  104. +# include <stdlib.h>
  105. map<perm_string,Module*> pform_modules;
  106. map<perm_string,PUdp*> pform_primitives;
  107. --- ./synth2.cc.orig 2008-06-04 21:55:20.000000000 +0000
  108. +++ ./synth2.cc 2008-06-04 21:55:27.000000000 +0000
  109. @@ -28,6 +28,7 @@
  110. #include <cassert>
  111. #include "NetLatch.h"
  112. #include <climits>
  113. +#include <stdlib.h>
  114. #include <new> // standard operator new
  115. using std::bad_alloc;
  116. --- ./sys_funcs.cc.orig 2008-06-04 21:51:40.000000000 +0000
  117. +++ ./sys_funcs.cc 2008-06-04 21:52:34.000000000 +0000
  118. @@ -22,6 +22,8 @@
  119. # include "config.h"
  120. # include "compiler.h"
  121. +# include <string.h>
  122. +# include <stdlib.h>
  123. # include <stdio.h>
  124. /*
  125. --- ./t-dll-expr.cc.orig 2008-06-04 22:01:22.000000000 +0000
  126. +++ ./t-dll-expr.cc 2008-06-04 22:01:29.000000000 +0000
  127. @@ -31,6 +31,7 @@
  128. # include <malloc.h>
  129. #endif
  130. # include <stdlib.h>
  131. +# include <string.h>
  132. /*
  133. * This is a little convenience function for converting a NetExpr
  134. --- ./t-dll-proc.cc.orig 2008-06-04 22:01:42.000000000 +0000
  135. +++ ./t-dll-proc.cc 2008-06-04 22:01:50.000000000 +0000
  136. @@ -33,6 +33,7 @@
  137. # include <malloc.h>
  138. #endif
  139. # include <stdlib.h>
  140. +# include <string.h>
  141. bool dll_target::process(const NetProcTop*net)
  142. --- ./t-dll.cc.orig 2008-06-04 22:01:01.000000000 +0000
  143. +++ ./t-dll.cc 2008-06-04 22:01:07.000000000 +0000
  144. @@ -32,6 +32,7 @@
  145. # include <malloc.h>
  146. #endif
  147. # include <stdlib.h>
  148. +# include <string.h>
  149. #include <new> // standard operator new
  150. using std::bad_alloc;
  151. --- ./verireal.cc.orig 2008-06-04 21:53:30.000000000 +0000
  152. +++ ./verireal.cc 2008-06-04 21:53:39.000000000 +0000
  153. @@ -25,6 +25,7 @@
  154. # include "verireal.h"
  155. # include "verinum.h"
  156. # include <stdlib.h>
  157. +# include <string.h>
  158. # include <ctype.h>
  159. # include <iostream>
  160. # include <math.h>
  161. --- ./vvp/main.cc.orig 2008-06-04 22:04:50.000000000 +0000
  162. +++ ./vvp/main.cc 2008-06-04 22:04:59.000000000 +0000
  163. @@ -34,9 +34,6 @@
  164. #if defined(HAVE_SYS_RESOURCE_H)
  165. # include <sys/time.h>
  166. # include <sys/resource.h>
  167. -# if defined(LINUX)
  168. -# include <asm/page.h>
  169. -# endif
  170. #endif // defined(HAVE_SYS_RESOURCE_H)
  171. #if defined(HAVE_GETOPT_H)