svn commit: r440273 - head/science/avogadro/files
Martin Wilke
miwi at FreeBSD.org
Sat May 6 15:17:40 UTC 2017
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>
More information about the svn-ports-head
mailing list