diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-10-24 13:03:51 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-10-24 13:03:51 +0000 |
commit | 8fd3ec5305f52732fe310d6376bcbf9540a34075 (patch) | |
tree | c07b1b18273942896feff845ed350bd2bbcf8c5c /sci-calculators/kunit/files | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-8fd3ec5305f52732fe310d6376bcbf9540a34075.tar.gz gentoo-2-8fd3ec5305f52732fe310d6376bcbf9540a34075.tar.bz2 gentoo-2-8fd3ec5305f52732fe310d6376bcbf9540a34075.zip |
Revision bump fixing gcc-4.3 issues (see bug #243784).
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-SENTINEL-3 i686)
Diffstat (limited to 'sci-calculators/kunit/files')
-rw-r--r-- | sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch b/sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch new file mode 100644 index 000000000000..9c968581b518 --- /dev/null +++ b/sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch @@ -0,0 +1,31 @@ +diff -Naur kunit-0.5/kunit/main.cpp kunit-0.5.new/kunit/main.cpp +--- kunit-0.5/kunit/main.cpp 2001-05-29 22:45:30.000000000 -0400 ++++ kunit-0.5.new/kunit/main.cpp 2008-10-24 08:49:14.000000000 -0400 +@@ -17,10 +17,14 @@ + + #include "main_widget.h" + +-#include <iostream.h> ++#include <iostream> ++#include <cstdlib> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + ++using std::cout; ++using std::endl; ++ + int + main(int argc, char **argv) + { +diff -Naur kunit-0.5/kunit/main_widgetdata.cpp kunit-0.5.new/kunit/main_widgetdata.cpp +--- kunit-0.5/kunit/main_widgetdata.cpp 2001-05-29 22:52:30.000000000 -0400 ++++ kunit-0.5.new/kunit/main_widgetdata.cpp 2008-10-24 08:49:26.000000000 -0400 +@@ -18,7 +18,7 @@ + #include <qapp.h> + #include "main_widget.h" + +-#include <iostream.h> ++#include <iostream> + + void main_widget::initDialog() + { |