Files
lhapdf5/lhapdf5-no-return-in-non-void.patch
Matthias Mailänder 959917d1a0 Accepting request 230293 from home:badshah400:heppack
New package: The 5.9.x version of lhapdf. The devel package of this conflicts with LHAPDF-devel from LHAPDF package also in science, so the two cannot be installed in parallel.

Although LHAPDF 6.0+ (provided by the LHAPDF package in science) is the upstream recommended version, this 5.9.x series is still maintained and used by a lot of high energy physics applications.

OBS-URL: https://build.opensuse.org/request/show/230293
OBS-URL: https://build.opensuse.org/package/show/science/lhapdf5?expand=0&rev=1
2014-04-16 07:48:30 +00:00

22 lines
495 B
Diff

Index: lhapdf-5.9.1/octave/wrapoctave.cc
===================================================================
--- lhapdf-5.9.1.orig/octave/wrapoctave.cc
+++ lhapdf-5.9.1/octave/wrapoctave.cc
@@ -140,6 +140,8 @@ Threshold for a quark with flavor @var{y
return Variable(args);
}
}
+ octave_value_list output;
+ return output;
}
@@ -299,6 +301,7 @@ int ReadArguments(octave_value_list args
return ERROR;
}
}
+ return ERROR;
}
// determine if the PDF file exists