Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-calculators/kunit/files: kunit-0.5-gcc4.3.patch
Date: Fri, 24 Oct 2008 13:03:54
Message-Id: E1KtMKV-0000Dy-7H@stork.gentoo.org
1 markusle 08/10/24 13:03:51
2
3 Added: kunit-0.5-gcc4.3.patch
4 Log:
5 Revision bump fixing gcc-4.3 issues (see bug #243784).
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-SENTINEL-3 i686)
7
8 Revision Changes Path
9 1.1 sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-calculators/kunit/files/kunit-0.5-gcc4.3.patch?rev=1.1&content-type=text/plain
13
14 Index: kunit-0.5-gcc4.3.patch
15 ===================================================================
16 diff -Naur kunit-0.5/kunit/main.cpp kunit-0.5.new/kunit/main.cpp
17 --- kunit-0.5/kunit/main.cpp 2001-05-29 22:45:30.000000000 -0400
18 +++ kunit-0.5.new/kunit/main.cpp 2008-10-24 08:49:14.000000000 -0400
19 @@ -17,10 +17,14 @@
20
21 #include "main_widget.h"
22
23 -#include <iostream.h>
24 +#include <iostream>
25 +#include <cstdlib>
26 #include <X11/Xlib.h>
27 #include <X11/Xutil.h>
28
29 +using std::cout;
30 +using std::endl;
31 +
32 int
33 main(int argc, char **argv)
34 {
35 diff -Naur kunit-0.5/kunit/main_widgetdata.cpp kunit-0.5.new/kunit/main_widgetdata.cpp
36 --- kunit-0.5/kunit/main_widgetdata.cpp 2001-05-29 22:52:30.000000000 -0400
37 +++ kunit-0.5.new/kunit/main_widgetdata.cpp 2008-10-24 08:49:26.000000000 -0400
38 @@ -18,7 +18,7 @@
39 #include <qapp.h>
40 #include "main_widget.h"
41
42 -#include <iostream.h>
43 +#include <iostream>
44
45 void main_widget::initDialog()
46 {