Hello community, here is the log from the commit of package lammps for openSUSE:Factory checked in at 2018-03-29 11:58:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lammps (Old) and /work/SRC/openSUSE:Factory/.lammps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lammps" Thu Mar 29 11:58:02 2018 rev:9 rq:592170 version:20180316 Changes: -------- --- /work/SRC/openSUSE:Factory/lammps/lammps.changes 2018-03-09 10:47:23.856945675 +0100 +++ /work/SRC/openSUSE:Factory/.lammps.new/lammps.changes 2018-03-29 11:59:39.393612639 +0200 @@ -1,0 +2,8 @@ +Wed Mar 28 16:57:22 UTC 2018 - [email protected] + +- bump version to 20180316 (stable) +- many little bugfxes: http://lammps.sandia.gov/bug.html + * A potentially harmful bug was found and fixed in the pair_style reax/c command +- Added 858.patch to fix return value on ppc64 + +------------------------------------------------------------------- Old: ---- lammps-patch_8Mar2018.tar.gz New: ---- 858.patch lammps-stable_16Mar2018.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lammps.spec ++++++ --- /var/tmp/diff_new_pack.yclxLh/_old 2018-03-29 11:59:42.145513364 +0200 +++ /var/tmp/diff_new_pack.yclxLh/_new 2018-03-29 11:59:42.149513220 +0200 @@ -17,14 +17,16 @@ # Name: lammps -Version: 20180308 -%define uversion patch_8Mar2018 +Version: 20180316 +%define uversion stable_16Mar2018 Release: 0 Summary: Molecular Dynamics Simulator License: GPL-2.0 and GPL-3.0+ Group: Productivity/Scientific/Chemistry Url: http://lammps.sandia.gov Source0: https://github.com/lammps/lammps/archive/%{uversion}.tar.gz#/%{name}-%{uversion}.tar.gz +# PATCH-FIX-UPSTREAM 858.patch, https://github.com/lammps/lammps/pull/858 - fix return value on ppc64 +Patch0: https://github.com/lammps/lammps/pull/858.patch BuildRequires: fftw3-devel BuildRequires: gcc-c++ BuildRequires: gcc-fortran @@ -116,6 +118,7 @@ %prep %setup -q -n %{name}-%{uversion} +%patch0 -p1 %build source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ++++++ 858.patch ++++++ >From c664f46b31650f362cc132bcc17a3f9de923768b Mon Sep 17 00:00:00 2001 From: Christoph Junghans <[email protected]> Date: Wed, 28 Mar 2018 11:28:28 -0600 Subject: [PATCH] MathSpecial::fm_exp: fix return value on ppc64 --- src/math_special.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/math_special.cpp b/src/math_special.cpp index d778e1e1ad..4b9197f0fc 100644 --- a/src/math_special.cpp +++ b/src/math_special.cpp @@ -537,10 +537,8 @@ double MathSpecial::exp2_x86(double x) double MathSpecial::fm_exp(double x) { -#if defined(__BYTE_ORDER__) -#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ +#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) return exp2_x86(FM_DOUBLE_LOG2OFE * x); -#endif #else return ::exp(x); #endif
