1 |
markusle 08/04/13 18:31:52 |
2 |
|
3 |
Added: gdl-0.9_pre6-plplot-5.9.patch |
4 |
Log: |
5 |
Added patch for plplot-5.9 support (fixes bug #217361). |
6 |
(Portage version: 2.1.5_rc2) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-lang/gdl/files/gdl-0.9_pre6-plplot-5.9.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/files/gdl-0.9_pre6-plplot-5.9.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/files/gdl-0.9_pre6-plplot-5.9.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gdl-0.9_pre6-plplot-5.9.patch |
15 |
=================================================================== |
16 |
diff -Naur gdl-0.9pre6/src/gdlgstream.cpp gdl-0.9pre6.new/src/gdlgstream.cpp |
17 |
--- gdl-0.9pre6/src/gdlgstream.cpp 2007-10-29 19:10:47.000000000 -0400 |
18 |
+++ gdl-0.9pre6.new/src/gdlgstream.cpp 2008-04-13 12:45:19.000000000 -0400 |
19 |
@@ -25,12 +25,12 @@ |
20 |
|
21 |
using namespace std; |
22 |
|
23 |
-void PLPlotAbortHandler(char *c) |
24 |
+void PLPlotAbortHandler(const char *c) |
25 |
{ |
26 |
cout << "PLPlot abort handler: " << c << endl; |
27 |
} |
28 |
|
29 |
-int PLPlotExitHandler(char *c) |
30 |
+int PLPlotExitHandler(const char *c) |
31 |
{ |
32 |
cout << "PLPlot exit handler: " << c << endl; |
33 |
return 0; |
34 |
diff -Naur gdl-0.9pre6/src/plot3d_nr.cpp gdl-0.9pre6.new/src/plot3d_nr.cpp |
35 |
--- gdl-0.9pre6/src/plot3d_nr.cpp 2007-10-29 19:10:47.000000000 -0400 |
36 |
+++ gdl-0.9pre6.new/src/plot3d_nr.cpp 2008-04-13 13:01:38.000000000 -0400 |
37 |
@@ -217,7 +217,7 @@ |
38 |
zmin = (zmax_in > zmin_in) ? zmin_in: zmax_in; |
39 |
zmax = (zmax_in > zmin_in) ? zmax_in: zmin_in; |
40 |
|
41 |
- pldtik(zmin, zmax, &tick, &nsub); |
42 |
+ pldtik(zmin, zmax, &tick, &nsub, 0); |
43 |
tp = tick * floor(zmin / tick) + tick; |
44 |
pl3upv = 0; |
45 |
|
46 |
|
47 |
|
48 |
|
49 |
-- |
50 |
gentoo-commits@l.g.o mailing list |