Date: Sat, 6 May 2017 15:17:38 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440273 - head/science/avogadro/files Message-ID: <201705061517.v46FHcLH009874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat May 6 15:17:38 2017 New Revision: 440273 URL: https://svnweb.freebsd.org/changeset/ports/440273 Log: - Fix build with gcc5 PR: 213985 Added: head/science/avogadro/files/patch-libavogadro_src_extensions_crystallography_crystallographyextension.cpp (contents, props changed) Added: head/science/avogadro/files/patch-libavogadro_src_extensions_crystallography_crystallographyextension.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/avogadro/files/patch-libavogadro_src_extensions_crystallography_crystallographyextension.cpp Sat May 6 15:17:38 2017 (r440273) @@ -0,0 +1,14 @@ +--- libavogadro/src/extensions/crystallography/crystallographyextension.cpp.orig 2013-12-06 15:50:04 UTC ++++ libavogadro/src/extensions/crystallography/crystallographyextension.cpp +@@ -51,6 +51,11 @@ + #include <openbabel/generic.h> + #include <openbabel/mol.h> + ++// fix for lang/gcc5 ++#if __GNUC__ == 5 && __GNUC_MINOR__ == 4 ++#undef minor ++#endif ++ + #include <Eigen/LU> + + #include <QtGui/QClipboard>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705061517.v46FHcLH009874>