1 |
hanno 08/04/28 11:32:44 |
2 |
|
3 |
Added: qbankmanager-gcc-4.3.patch |
4 |
Log: |
5 |
fix gcc4.3 and add ~amd64 for qbankmanager |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/qbankmanager/files/qbankmanager-gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: qbankmanager-gcc-4.3.patch |
15 |
=================================================================== |
16 |
--- src/kbanking/libs/kbanking.cpp |
17 |
+++ src/kbanking/libs/kbanking.cpp |
18 |
@@ -35,7 +35,7 @@ |
19 |
#include "graphreport.h" |
20 |
/* Note: add new reports to fn _sampleReportModules() */ |
21 |
|
22 |
-#include <assert.h> |
23 |
+#include <cassert> |
24 |
#include <qstring.h> |
25 |
#include <qmessagebox.h> |
26 |
#include <qinputdialog.h> |
27 |
--- src/kbanking/libs/prg/account.cpp |
28 |
+++ src/kbanking/libs/prg/account.cpp |
29 |
@@ -20,7 +20,7 @@ |
30 |
|
31 |
#include <gwenhywfar/debug.h> |
32 |
#include <stdlib.h> |
33 |
-#include <assert.h> |
34 |
+#include <cassert> |
35 |
|
36 |
|
37 |
|
38 |
--- src/kbanking/libs/prg/category.cpp |
39 |
+++ src/kbanking/libs/prg/category.cpp |
40 |
@@ -20,7 +20,7 @@ |
41 |
|
42 |
#include <gwenhywfar/debug.h> |
43 |
#include <stdlib.h> |
44 |
-#include <assert.h> |
45 |
+#include <cassert> |
46 |
|
47 |
|
48 |
|
49 |
--- src/kbanking/libs/prg/refpointer.h |
50 |
+++ src/kbanking/libs/prg/refpointer.h |
51 |
@@ -32,12 +32,13 @@ |
52 |
* |
53 |
* @short Smart pointer RefPointer with helper classes. No C wrappers.*/ |
54 |
|
55 |
-#include <assert.h> |
56 |
#include <gwenhywfar/debug.h> |
57 |
|
58 |
#ifdef __cplusplus |
59 |
-#include <stdio.h> /* DEBUG */ |
60 |
+#include <cassert> |
61 |
+#include <cstdio> /* DEBUG */ |
62 |
#include <string> |
63 |
+#include <cstdlib> |
64 |
|
65 |
|
66 |
class RefPointerBase; |
67 |
@@ -766,7 +767,8 @@ |
68 |
}; |
69 |
|
70 |
#endif /* DOXYGEN_HIDE */ |
71 |
- |
72 |
+#else |
73 |
+#include <assert.h> |
74 |
#endif /* __cplusplus */ |
75 |
#endif /* REFPOINTER_H */ |
76 |
|
77 |
--- src/kbanking/libs/widgets/accountlist.cpp |
78 |
+++ src/kbanking/libs/widgets/accountlist.cpp |
79 |
@@ -16,7 +16,7 @@ |
80 |
|
81 |
|
82 |
#include "accountlist.h" |
83 |
-#include <assert.h> |
84 |
+#include <cassert> |
85 |
#include <qstring.h> |
86 |
|
87 |
#include <gwenhywfar/debug.h> |
88 |
--- src/kbanking/libs/widgets/categorylist.cpp |
89 |
+++ src/kbanking/libs/widgets/categorylist.cpp |
90 |
@@ -18,7 +18,7 @@ |
91 |
|
92 |
|
93 |
#include "categorylist.h" |
94 |
-#include <assert.h> |
95 |
+#include <cassert> |
96 |
|
97 |
#include <qstring.h> |
98 |
#include <qlistview.h> |
99 |
--- src/kbanking/libs/widgets/payeelist.cpp |
100 |
+++ src/kbanking/libs/widgets/payeelist.cpp |
101 |
@@ -16,7 +16,7 @@ |
102 |
|
103 |
|
104 |
#include "payeelist.h" |
105 |
-#include <assert.h> |
106 |
+#include <cassert> |
107 |
#include <qstring.h> |
108 |
|
109 |
#include <gwenhywfar/debug.h> |
110 |
--- src/kbanking/libs/widgets/stolist.cpp |
111 |
+++ src/kbanking/libs/widgets/stolist.cpp |
112 |
@@ -16,7 +16,7 @@ |
113 |
|
114 |
|
115 |
#include "stolist.h" |
116 |
-#include <assert.h> |
117 |
+#include <cassert> |
118 |
#include <qstring.h> |
119 |
#include <qpainter.h> |
120 |
#include <qdatetime.h> |
121 |
--- src/kbanking/libs/widgets/transactionlist.cpp |
122 |
+++ src/kbanking/libs/widgets/transactionlist.cpp |
123 |
@@ -20,7 +20,7 @@ |
124 |
#include "category.h" |
125 |
#include "kbanking.h" |
126 |
|
127 |
-#include <assert.h> |
128 |
+#include <cassert> |
129 |
#include <qstring.h> |
130 |
#include <qpainter.h> |
131 |
#include <qdatetime.h> |
132 |
--- src/kbanking/libs/widgets/transferlist.cpp |
133 |
+++ src/kbanking/libs/widgets/transferlist.cpp |
134 |
@@ -16,7 +16,7 @@ |
135 |
|
136 |
|
137 |
#include "transferlist.h" |
138 |
-#include <assert.h> |
139 |
+#include <cassert> |
140 |
#include <qstring.h> |
141 |
#include <qpainter.h> |
142 |
#include <qdatetime.h> |
143 |
|
144 |
|
145 |
|
146 |
-- |
147 |
gentoo-commits@l.g.o mailing list |