summaryrefslogtreecommitdiff
path: root/sci-physics/lammps/files/gcc-6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-physics/lammps/files/gcc-6.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/lammps/files/gcc-6.patch')
-rw-r--r--sci-physics/lammps/files/gcc-6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-physics/lammps/files/gcc-6.patch b/sci-physics/lammps/files/gcc-6.patch
new file mode 100644
index 000000000000..ca2bcceeedfa
--- /dev/null
+++ b/sci-physics/lammps/files/gcc-6.patch
@@ -0,0 +1,11 @@
+--- lammps-7Apr16-orig/lib/atc/Vector.h 2014-11-20 11:59:03.000000000 -0700
++++ lammps-7Apr16/lib/atc/Vector.h 2016-10-13 06:04:44.328977960 -0600
+@@ -119,7 +119,7 @@
+ {
+ DenseVector<T> r(v);
+ r*=(1.0/s); // for integer types this may be worthless
+- return ;
++ return r;
+ }
+ ///////////////////////////////////////////////////////////////////////////////
+ //* Operator for Vector-Vector sum