Skip to content

Commit

Permalink
Merge IB/CMSSW_11_0_X/master into IB/CMSSW_11_0_X/rootmaster.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Oct 12, 2019
2 parents b781418 + 6705a0a commit a0f3b12
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions HepMC-2.06.07-pyinit.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- HepMC-2.06.07.orig/HepMC/PythiaWrapper6_4.h 2019-10-11 16:52:08.917366436 +0200
+++ HepMC-2.06.07/HepMC/PythiaWrapper6_4.h 2019-10-11 17:04:01.614803379 +0200
@@ -247,7 +247,7 @@
#define upevnt upevnt_
extern "C" {
void pyhepc(int*);
- void pyinit(const char*,const char*,const char*,double*,int,int,int);
+ void pyinit(const char*,const char*,const char*,double*,std::size_t,std::size_t,std::size_t);
void pylist(int*);
void pystat(int*);
void pyevnt();
2 changes: 2 additions & 0 deletions hepmc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Source: http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-%realversion.tar
Patch0: hepmc-2.03.06-reflex
Patch1: hepmc-2.06.07-WeightContainer-fix-size_type
Patch2: HepMC-2.06.07-nodoc
Patch3: HepMC-2.06.07-pyinit

Requires: autotools

Expand All @@ -14,6 +15,7 @@ Requires: autotools
%patch0 -p0
%patch1 -p1
%patch2 -p1
%patch3 -p1

F77="$(which gfortran) -fPIC"
CXX="$(which g++) -fPIC"
Expand Down

0 comments on commit a0f3b12

Please sign in to comment.