mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build with gcc5
PR: 213985
This commit is contained in:
parent
b96a863c03
commit
02f3f6f7e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440273
1 changed files with 14 additions and 0 deletions
|
@ -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>
|
Loading…
Add table
Reference in a new issue