summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch')
-rw-r--r--sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch b/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch
new file mode 100644
index 00000000000..c0a62e1d0e2
--- /dev/null
+++ b/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch
@@ -0,0 +1,30 @@
+--- vbs-1.4.0b/src/common/dumpstrm.cc 2009-01-21 02:42:43.000000000 -0400
++++ vbs-1.4.0/src/common/dumpstrm.cc 2009-01-21 02:48:57.000000000 -0400
+@@ -13,6 +13,7 @@
+
+ #include <cstdio> // sprintf
+ #include <iostream>
++#include <cstdlib>
+ #include "dumpstrm.h"
+
+ using std::cerr;
+--- vbs-1.4.0b/src/common/logic.h 2009-01-21 02:42:43.000000000 -0400
++++ vbs-1.4.0/src/common/logic.h 2009-01-21 02:48:05.000000000 -0400
+@@ -18,6 +18,7 @@
+
+ #ifndef _LOGIC_H
+ #define _LOGIC_H
++#include <cstdlib>
+
+ class logic
+ {
+--- vbs-1.4.0b/src/common/bvector.h 2009-01-21 02:42:43.000000000 -0400
++++ vbs-1.4.0/src/common/bvector.h 2009-01-21 02:46:31.000000000 -0400
+@@ -30,6 +30,7 @@
+ #include <string>
+ #include <utility>
+ #include <iostream>
++#include <cstring>
+ #include "common/logic.h"
+
+ class bit_vector