commit:     f0ad7e052bcb1de5e5464ebeb36d4af5920d43f4
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 14:27:11 2022 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 14:30:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ad7e05

sci-physics/pythia: fix bug 836833

Closes: https://bugs.gentoo.org/836833
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 .../pythia/files/pythia-6.4.28-fno-common.patch    | 44 +++++++++++-----------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/sci-physics/pythia/files/pythia-6.4.28-fno-common.patch 
b/sci-physics/pythia/files/pythia-6.4.28-fno-common.patch
index 3ee9bc7c0f7a..45cbe3ea57d6 100644
--- a/sci-physics/pythia/files/pythia-6.4.28-fno-common.patch
+++ b/sci-physics/pythia/files/pythia-6.4.28-fno-common.patch
@@ -27,28 +27,28 @@ https://bugs.gentoo.org/766306
 -int pyssmt[2*4*4+2*2*2+2*2*2+2*4+2*2+2*4*16+2*4*4+2*2*2+2*2*2];
 -int pyints[2*20];
 -int pybins[4+1000+2*20000];
-+extern int pyjets[2+5*4000+2*2*5*4000];
-+extern int pydat1[200+2*200+200+2*200];
-+extern int pydat2[4*500+2*4*500+2*2000+2*4*4];
-+extern int pydat3[3*500+2*8000+2*8000+5*8000];  /* KNDCAY=8000 */
-+extern char pydat4[2*500*16];
-+extern int pydatr[6+2*100];
-+extern int pysubs[2+500+81*2+2*200];
-+extern int pypars[200+2*200+200+2*200];
-+extern int pyint1[400+2*400];
-+extern int pyint2[500+2*500+2*20*500+2*4*40];
-+extern int pyint3[2*81*2+3*1000+2*1000];
-+extern int pyint4[500+2*5*500];
-+extern int pyint5[1+3*501+2*3*501];
-+extern char pyint6[501*28];
-+extern int pyint7[2*6*7*7];
-+extern int pyint8[2*5*13];
-+extern int pyint9[2*4*13];
-+extern int pyuppr[1+7*20+1+2*10+2*5*20+2*11]; /* PYUPPR DOES NOT EXIST IN 
PYTHIA6 AT ALL!!! */
-+extern int pymssm[100+2*100];
-+extern int pyssmt[2*4*4+2*2*2+2*2*2+2*4+2*2+2*4*16+2*4*4+2*2*2+2*2*2];
-+extern int pyints[2*20];
-+extern int pybins[4+1000+2*20000];
++static int pyjets[2+5*4000+2*2*5*4000];
++static int pydat1[200+2*200+200+2*200];
++static int pydat2[4*500+2*4*500+2*2000+2*4*4];
++static int pydat3[3*500+2*8000+2*8000+5*8000];  /* KNDCAY=8000 */
++static char pydat4[2*500*16];
++static int pydatr[6+2*100];
++static int pysubs[2+500+81*2+2*200];
++static int pypars[200+2*200+200+2*200];
++static int pyint1[400+2*400];
++static int pyint2[500+2*500+2*20*500+2*4*40];
++static int pyint3[2*81*2+3*1000+2*1000];
++static int pyint4[500+2*5*500];
++static int pyint5[1+3*501+2*3*501];
++static char pyint6[501*28];
++static int pyint7[2*6*7*7];
++static int pyint8[2*5*13];
++static int pyint9[2*4*13];
++static int pyuppr[1+7*20+1+2*10+2*5*20+2*11]; /* PYUPPR DOES NOT EXIST IN 
PYTHIA6 AT ALL!!! */
++static int pymssm[100+2*100];
++static int pyssmt[2*4*4+2*2*2+2*2*2+2*4+2*2+2*4*16+2*4*4+2*2*2+2*2*2];
++static int pyints[2*20];
++static int pybins[4+1000+2*20000];
  
  void *pythia6_common_address(const char* name) {
     if      (!strcmp(name,"PYJETS")) return pyjets;

Reply via email to