1 |
markusle 08/06/01 10:24:46 |
2 |
|
3 |
Added: minuit-5.16.00-gcc4.3.patch |
4 |
Log: |
5 |
Added gcc-4.3 compatibility patch. |
6 |
(Portage version: 2.1.5.2) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-libs/minuit/files/minuit-5.16.00-gcc4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/minuit/files/minuit-5.16.00-gcc4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/minuit/files/minuit-5.16.00-gcc4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: minuit-5.16.00-gcc4.3.patch |
15 |
=================================================================== |
16 |
diff -Naur Minuit2-5.16.00/src/MnUserTransformation.cxx Minuit2-5.16.00.new/src/MnUserTransformation.cxx |
17 |
--- Minuit2-5.16.00/src/MnUserTransformation.cxx 2006-07-05 12:04:25.000000000 -0400 |
18 |
+++ Minuit2-5.16.00.new/src/MnUserTransformation.cxx 2008-06-01 06:15:23.000000000 -0400 |
19 |
@@ -10,6 +10,7 @@ |
20 |
#include "Minuit2/MnUserTransformation.h" |
21 |
#include "Minuit2/MnUserCovariance.h" |
22 |
|
23 |
+#include <cstdio> |
24 |
#include <algorithm> |
25 |
|
26 |
namespace ROOT { |
27 |
@@ -47,7 +48,7 @@ |
28 |
p[0] = 'p'; |
29 |
p[4] = '\0'; |
30 |
for(unsigned int i = 0; i < par.size(); i++) { |
31 |
- std::sprintf(p+1,"%i",i); |
32 |
+ sprintf(p+1,"%i",i); |
33 |
Add(p, par[i], err[i]); |
34 |
} |
35 |
} |
36 |
|
37 |
|
38 |
|
39 |
-- |
40 |
gentoo-commits@l.g.o mailing list |