Hello community, here is the log from the commit of package HepMC for openSUSE:Factory checked in at 2020-06-12 21:42:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/HepMC (Old) and /work/SRC/openSUSE:Factory/.HepMC.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "HepMC" Fri Jun 12 21:42:09 2020 rev:8 rq:814032 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes 2020-05-23 17:28:01.735484380 +0200 +++ /work/SRC/openSUSE:Factory/.HepMC.new.3606/HepMC.changes 2020-06-12 21:44:07.548442205 +0200 @@ -1,0 +2,7 @@ +Mon Jun 8 01:25:25 UTC 2020 - Atri Bhattacharya <[email protected]> + +- Add HepMC-type-mismatch-error.patch: Fix type mismatch between + function definition and function call flagged by GCC 10. +- Use autosetup to setup build dir and automatically apply patch. + +------------------------------------------------------------------- New: ---- HepMC-type-mismatch-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ HepMC.spec ++++++ --- /var/tmp/diff_new_pack.QsI9IG/_old 2020-06-12 21:44:09.580447312 +0200 +++ /var/tmp/diff_new_pack.QsI9IG/_new 2020-06-12 21:44:09.580447312 +0200 @@ -29,6 +29,8 @@ Group: Development/Libraries/C and C++ URL: http://hepmc.web.cern.ch/hepmc/ Source: http://hepmc.web.cern.ch/hepmc/releases/%{name}3-%{version}.tar.gz +# PATCH-FIX-UPSTREAM HepMC-type-mismatch-error.patch [email protected] -- Fix type mismatch between function definition and function call flagged by GCC 10 +Patch0: HepMC-type-mismatch-error.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes @@ -104,7 +106,7 @@ This package provides the python module for coding with HepMC. %prep -%setup -q -n %{name}3-%{version} +%autosetup -p1 -n %{name}3-%{version} %build %cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=%{?with_rootio:ON}%{!?with_rootio:OFF} \ ++++++ HepMC-type-mismatch-error.patch ++++++ Index: HepMC3-3.2.1/examples/Pythia6Example/main63.f =================================================================== --- HepMC3-3.2.1.orig/examples/Pythia6Example/main63.f +++ HepMC3-3.2.1/examples/Pythia6Example/main63.f @@ -140,13 +140,13 @@ C...Note: no explicit XS uncertainty C...The values below are not always meaningful HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),-1, & 'mpi'//char(0)) - HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MSUB, + HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MSUB(1), & 'signal_process_id'//char(0)) HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MRPY(1), & 'random_states1'//char(0)) - HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1, + HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1.0D0, & 'alphaEM'//char(0)) - HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1, + HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1.0D0, & 'alphaQCD'//char(0)) HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),q2pdfeval, & 'event_scale'//char(0))
