svn commit: r470464 - head/science/gchemutils/files

Koop Mast kwm at FreeBSD.org
Sun May 20 15:23:24 UTC 2018


Author: kwm
Date: Sun May 20 15:23:23 2018
New Revision: 470464
URL: https://svnweb.freebsd.org/changeset/ports/470464

Log:
  Fix the build on HEAD.
  
  Reported by:	pkgfallout

Added:
  head/science/gchemutils/files/patch-libs_gcu_spacegroup.cc   (contents, props changed)

Added: head/science/gchemutils/files/patch-libs_gcu_spacegroup.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/gchemutils/files/patch-libs_gcu_spacegroup.cc	Sun May 20 15:23:23 2018	(r470464)
@@ -0,0 +1,20 @@
+--- libs/gcu/spacegroup.cc.orig	2018-05-20 17:09:17.854019000 +0200
++++ libs/gcu/spacegroup.cc	2018-05-20 17:22:26.142391000 +0200
+@@ -340,7 +340,7 @@
+ Transform3d const * SpaceGroup::GetFirstTransform (list <Transform3d*>::const_iterator &i) const
+ {
+ 	i = m_Transforms.begin ();
+-	return (i == m_Transforms.end())? reinterpret_cast <Transform3d *> (NULL): *i;
++	return (i == m_Transforms.end())? static_cast <Transform3d *> (NULL): *i;
+ }
+ 
+ /*!
+@@ -348,7 +348,7 @@
+ Transform3d const * SpaceGroup::GetNextTransform (list <Transform3d*>::const_iterator &i) const
+ {
+ 	i++;
+-	return (i == m_Transforms.end ())? reinterpret_cast <Transform3d *> (NULL): *i;
++	return (i == m_Transforms.end ())? static_cast <Transform3d *> (NULL): *i;
+ }
+ 
+ /*!


More information about the svn-ports-all mailing list