From 1abd09c7492ed9289ccfbd7319286e1b8d5d3053 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Wed, 13 Jul 2011 19:43:59 +0000
Subject: [PATCH] comment out the interface to pytune() as this function is not
 anymore in libPythia6 (generates unresolved symbol error).

git-svn-id: http://root.cern.ch/svn/root/trunk@40221 27541ba8-7e3a-0410-8455-c3a389f83636
---
 montecarlo/pythia6/inc/TPythia6.h   | 2 +-
 montecarlo/pythia6/src/TPythia6.cxx | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/montecarlo/pythia6/inc/TPythia6.h b/montecarlo/pythia6/inc/TPythia6.h
index 11cf5ec8b5e..ba047f5f6cd 100644
--- a/montecarlo/pythia6/inc/TPythia6.h
+++ b/montecarlo/pythia6/inc/TPythia6.h
@@ -326,7 +326,7 @@ public:
    void             Pyrset(int lun, int move);
    void             Pystat(int flag);
    void             Pytest(int flag);
-   void             Pytune(int itune);
+   //void             Pytune(int itune);   // not (anymore) in libPythia6
    void             Pyupda(int mupda, int lun);
    void             SetupTest();
 
diff --git a/montecarlo/pythia6/src/TPythia6.cxx b/montecarlo/pythia6/src/TPythia6.cxx
index 6ad607efd40..9230f8e8b9d 100644
--- a/montecarlo/pythia6/src/TPythia6.cxx
+++ b/montecarlo/pythia6/src/TPythia6.cxx
@@ -607,10 +607,11 @@ void TPythia6::Pytest(int flag) {
    pytest(&flag);
 }
 
-void TPythia6::Pytune(int itune) {
-   //interface with fortran routine pytune
-   pytune(&itune);
-}
+// not (anymore) in libPythia6
+//void TPythia6::Pytune(int itune) {
+//   //interface with fortran routine pytune
+//   pytune(&itune);
+//}
 
 void TPythia6::Pyupda(int mupda, int lun) {
    //interface with fortran routine pyupda
-- 
GitLab