From: | "Denis Dupeyron (calchan)" <calchan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-embedded/ponyprog/files: ponyprog-2.07a-gcc43.patch |
Date: | Fri, 20 Jun 2008 20:24:51 |
Message-Id: | E1K9nA5-0006Mp-II@stork.gentoo.org |
1 | calchan 08/06/20 20:24:45 |
2 | |
3 | Added: ponyprog-2.07a-gcc43.patch |
4 | Log: |
5 | Fixed compilation with gcc 4.3, thanks to Peter Alfredsen (bug #227503). |
6 | (Portage version: 2.1.5.6) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/ponyprog/files/ponyprog-2.07a-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ponyprog-2.07a-gcc43.patch |
15 | =================================================================== |
16 | --- a/v/includex/v/vpsdc.h |
17 | +++ b/v/includex/v/vpsdc.h |
18 | @@ -14,7 +14,9 @@ |
19 | |
20 | #include <v/vdc.h> |
21 | #include <v/vprinter.h> |
22 | -#include <fstream.h> |
23 | +#include <fstream> |
24 | + |
25 | +using namespace std; |
26 | |
27 | class vPostScriptDC : public vDC |
28 | { |
29 | --- a/v/includex/v/vpsprntr.h |
30 | +++ b/v/includex/v/vpsprntr.h |
31 | @@ -14,7 +14,7 @@ |
32 | |
33 | #include <v/v_defs.h> |
34 | #include <v/vmodald.h> |
35 | -#include <fstream.h> |
36 | +#include <fstream> |
37 | |
38 | #define vPaperLetter 0 |
39 | #define vPaperLegal 1 |
40 | @@ -31,6 +31,8 @@ |
41 | #define vPaperQuarto 12 |
42 | #define vPaper10x14 13 |
43 | |
44 | +using namespace std; |
45 | + |
46 | #define vPaperDefault vPaperLetter // Index to default paper |
47 | |
48 | class vPSPrinter : public vModalDialog |
49 | --- a/v/srcx/vpsprntr.cxx |
50 | +++ b/v/srcx/vpsprntr.cxx |
51 | @@ -103,7 +103,7 @@ static unsigned char prompt_bits[] = { |
52 | _height = PaperHeights[_paperType]; |
53 | _portrait = 1; |
54 | _useColor = 0; |
55 | - _pstream = 0; |
56 | + vPSPrinter::_pstream = 0; |
57 | |
58 | ++_instances; // bump reference counter |
59 | } |
60 | |
61 | |
62 | |
63 | -- |
64 | gentoo-commits@l.g.o mailing list |