1 |
bicatali 09/09/30 18:55:09 |
2 |
|
3 |
Added: pygsl-0.9.4-obsolete-units.patch |
4 |
Log: |
5 |
Added a patch to compile with gsl >= 1.13, thanks Kacper Kowalik, closing bug #286605 |
6 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/pygsl/files/pygsl-0.9.4-obsolete-units.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/files/pygsl-0.9.4-obsolete-units.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/files/pygsl-0.9.4-obsolete-units.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pygsl-0.9.4-obsolete-units.patch |
15 |
=================================================================== |
16 |
--- pygsl-0.9.4.orig/src/const_cgs_array.c 2005-04-27 09:53:37.000000000 +0200 |
17 |
+++ pygsl-0.9.4/src/const_cgs_array.c 2009-09-28 17:37:26.981970170 +0200 |
18 |
@@ -14,10 +14,10 @@ |
19 |
{"mass_neutron",GSL_CONST_CGS_MASS_NEUTRON,"g"}, |
20 |
{"rydberg",GSL_CONST_CGS_RYDBERG,"g cm^2 / s^2"}, |
21 |
{"boltzmann",GSL_CONST_CGS_BOLTZMANN,"g cm^2 / K s^2"}, |
22 |
-{"bohr_magneton",GSL_CONST_CGS_BOHR_MAGNETON,"A cm^2"}, |
23 |
-{"nuclear_magneton",GSL_CONST_CGS_NUCLEAR_MAGNETON,"A cm^2"}, |
24 |
-{"electron_magnetic_moment",GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT,"A cm^2"}, |
25 |
-{"proton_magnetic_moment",GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT,"A cm^2"}, |
26 |
+/*{"bohr_magneton",GSL_CONST_CGS_BOHR_MAGNETON,"A cm^2"},*/ |
27 |
+/*{"nuclear_magneton",GSL_CONST_CGS_NUCLEAR_MAGNETON,"A cm^2"},*/ |
28 |
+/*{"electron_magnetic_moment",GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT,"A cm^2"},*/ |
29 |
+/*{"proton_magnetic_moment",GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT,"A cm^2"},*/ |
30 |
{"molar_gas",GSL_CONST_CGS_MOLAR_GAS,"g cm^2 / K mol s^2"}, |
31 |
{"standard_gas_volume",GSL_CONST_CGS_STANDARD_GAS_VOLUME,"cm^3 / mol"}, |
32 |
{"minute",GSL_CONST_CGS_MINUTE,"s"}, |
33 |
@@ -76,9 +76,9 @@ |
34 |
{"psi",GSL_CONST_CGS_PSI,"g / cm s^2"}, |
35 |
{"poise",GSL_CONST_CGS_POISE,"g / cm s"}, |
36 |
{"stokes",GSL_CONST_CGS_STOKES,"cm^2 / s"}, |
37 |
-{"faraday",GSL_CONST_CGS_FARADAY,"A s / mol"}, |
38 |
-{"electron_charge",GSL_CONST_CGS_ELECTRON_CHARGE,"A s"}, |
39 |
-{"gauss",GSL_CONST_CGS_GAUSS,"g / A s^2"}, |
40 |
+/*{"faraday",GSL_CONST_CGS_FARADAY,"A s / mol"},*/ |
41 |
+/*{"electron_charge",GSL_CONST_CGS_ELECTRON_CHARGE,"A s"},*/ |
42 |
+/*{"gauss",GSL_CONST_CGS_GAUSS,"g / A s^2"},*/ |
43 |
{"stilb",GSL_CONST_CGS_STILB,"cd / cm^2"}, |
44 |
{"lumen",GSL_CONST_CGS_LUMEN,"cd sr"}, |
45 |
{"lux",GSL_CONST_CGS_LUX,"cd sr / cm^2"}, |
46 |
@@ -87,7 +87,7 @@ |
47 |
{"lambert",GSL_CONST_CGS_LAMBERT,"cd sr / cm^2"}, |
48 |
{"footlambert",GSL_CONST_CGS_FOOTLAMBERT,"cd sr / cm^2"}, |
49 |
{"curie",GSL_CONST_CGS_CURIE,"1 / s"}, |
50 |
-{"roentgen",GSL_CONST_CGS_ROENTGEN,"A s / g"}, |
51 |
+/*{"roentgen",GSL_CONST_CGS_ROENTGEN,"A s / g"},*/ |
52 |
{"rad",GSL_CONST_CGS_RAD,"cm^2 / s^2"}, |
53 |
{"solar_mass",GSL_CONST_CGS_SOLAR_MASS,"g"}, |
54 |
{"bohr_radius",GSL_CONST_CGS_BOHR_RADIUS,"cm"}, |
55 |
--- pygsl-0.9.4.orig/src/const_cgsm_array.c 2006-12-21 13:20:15.000000000 +0100 |
56 |
+++ pygsl-0.9.4/src/const_cgsm_array.c 2009-09-28 17:37:49.301970158 +0200 |
57 |
@@ -77,7 +77,7 @@ |
58 |
{"stokes",GSL_CONST_CGSM_STOKES,"cm^2 / s"}, |
59 |
{"faraday",GSL_CONST_CGSM_FARADAY,"abamp s / mol"}, |
60 |
{"electron_charge",GSL_CONST_CGSM_ELECTRON_CHARGE,"abamp s"}, |
61 |
-{"gauss",GSL_CONST_CGSM_GAUSS,"g / abamp s^2"}, |
62 |
+/*{"gauss",GSL_CONST_CGSM_GAUSS,"g / abamp s^2"},*/ |
63 |
{"stilb",GSL_CONST_CGSM_STILB,"cd / cm^2"}, |
64 |
{"lumen",GSL_CONST_CGSM_LUMEN,"cd sr"}, |
65 |
{"lux",GSL_CONST_CGSM_LUX,"cd sr / cm^2"}, |