linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / physics / nlojet / nlojet_clang_fix.patch
blob917c57e8cb47b025b8eef1cf6d74174540fb3ccd
1 diff -rupN nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h
2 --- nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h 2010-05-11 11:06:00.000000000 -0400
3 +++ nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h 2014-08-23 03:22:51.000000000 -0400
4 @@ -26,8 +26,11 @@
5 namespace nlo {
7 // Spacializations
8 + template<>
9 class lorentzvector<std::complex<float> >;
10 + template<>
11 class lorentzvector<std::complex<double> >;
12 + template<>
13 class lorentzvector<std::complex<long double> >;
15 template<>
16 diff -rupN nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h
17 --- nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h 2010-05-11 11:06:00.000000000 -0400
18 +++ nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h 2014-08-23 03:23:09.000000000 -0400
19 @@ -26,8 +26,11 @@
20 namespace nlo {
22 // Specializations
23 + template<>
24 class threevector<std::complex<float> >;
25 + template<>
26 class threevector<std::complex<double> >;
27 + template<>
28 class threevector<std::complex<long double> >;
30 template<>