packages (DEVEL): root/root-namespaces.patch (NEW) - Patch for "undefined r...
lisu
lisu at pld-linux.org
Wed Jul 21 11:41:03 CEST 2010
Author: lisu Date: Wed Jul 21 09:41:03 2010 GMT
Module: packages Tag: DEVEL
---- Log message:
- Patch for "undefined reference to GenerateInitInstance"
---- Files affected:
packages/root:
root-namespaces.patch (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: packages/root/root-namespaces.patch
diff -u /dev/null packages/root/root-namespaces.patch:1.1.2.1
--- /dev/null Wed Jul 21 11:41:03 2010
+++ packages/root/root-namespaces.patch Wed Jul 21 11:40:58 2010
@@ -0,0 +1,99 @@
+--- a/math/mathcore/src/TMath.cxx
++++ b/math/mathcore/src/TMath.cxx
+@@ -40,6 +40,27 @@ NamespaceImp(TMath)
+ #endif
+
+ namespace TMath {
++ namespace ROOT {
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++ static void TMath_Dictionary();
++
++ // Function generating the singleton type initializer
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++ {
++ static ::ROOT::TGenericClassInfo
++ instance("TMath", 0 /*version*/, "include/TMath.h", 36,
++ ::ROOT::DefineBehavior((void*)0,(void*)0),
++ &TMath_Dictionary, 0);
++ return &instance;
++ }
++ // Static variable to force the class initialization
++ static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++ // Dictionary for non-ClassDef classes
++ static void TMath_Dictionary() {
++ GenerateInitInstance()->GetClass();
++ }
++ }
+
+ Double_t GamCf(Double_t a,Double_t x);
+ Double_t GamSer(Double_t a,Double_t x);
+--- a/math/matrix/src/TMatrixTCramerInv.cxx
++++ b/math/matrix/src/TMatrixTCramerInv.cxx
+@@ -38,6 +38,31 @@
+ NamespaceImp(TMatrixTCramerInv);
+ #endif
+
++namespace TMatrixTCramerInv {
++ namespace ROOT {
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++ static void TMatrixTCramerInv_Dictionary();
++
++ // Function generating the singleton type initializer
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++ {
++ static ::ROOT::TGenericClassInfo
++ instance("TMatrixTCramerInv", 0 /*version*/, "include/TMatrixTCramerInv.h", 34,
++ ::ROOT::DefineBehavior((void*)0,(void*)0),
++ &TMatrixTCramerInv_Dictionary, 0);
++ return &instance;
++ }
++ // Static variable to force the class initialization
++ static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++ // Dictionary for non-ClassDef classes
++ static void TMatrixTCramerInv_Dictionary() {
++ GenerateInitInstance()->GetClass();
++ }
++
++ }
++}
++
+ //______________________________________________________________________________
+ template<class Element>
+ Bool_t TMatrixTCramerInv::Inv2x2(TMatrixT<Element> &m,Double_t *determ)
+--- a/math/matrix/src/TMatrixTSymCramerInv.cxx
++++ b/math/matrix/src/TMatrixTSymCramerInv.cxx
+@@ -38,6 +38,31 @@
+ NamespaceImp(TMatrixTSymCramerInv);
+ #endif
+
++namespace TMatrixTSymCramerInv {
++ namespace ROOT {
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++ static void TMatrixTSymCramerInv_Dictionary();
++
++ // Function generating the singleton type initializer
++ inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++ {
++ static ::ROOT::TGenericClassInfo
++ instance("TMatrixTSymCramerInv", 0 /*version*/, "include/TMatrixTSymCramerInv.h", 34,
++ ::ROOT::DefineBehavior((void*)0,(void*)0),
++ &TMatrixTSymCramerInv_Dictionary, 0);
++ return &instance;
++ }
++ // Static variable to force the class initialization
++ static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++ // Dictionary for non-ClassDef classes
++ static void TMatrixTSymCramerInv_Dictionary() {
++ GenerateInitInstance()->GetClass();
++ }
++
++ }
++}
++
+ //______________________________________________________________________________
+ template<class Element>
+ Bool_t TMatrixTSymCramerInv::Inv2x2(TMatrixTSym<Element> &m,Double_t *determ)
+
================================================================
More information about the pld-cvs-commit
mailing list