diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-12-19 19:53:56 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-19 19:54:17 +0100 |
commit | f0a2380b1c22216f31a63031daa48b821878b396 (patch) | |
tree | bb110e60da7625293b8c6c895de45a6796c0c2bc /academic/avogadro/gcc-4.7.patch | |
parent | 2af5d511673d1c97960920491b94d1c37139a0e2 (diff) |
academic/avogadro: Updated for version 1.1.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/avogadro/gcc-4.7.patch')
-rw-r--r-- | academic/avogadro/gcc-4.7.patch | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/academic/avogadro/gcc-4.7.patch b/academic/avogadro/gcc-4.7.patch new file mode 100644 index 000000000000..8c74fa562032 --- /dev/null +++ b/academic/avogadro/gcc-4.7.patch @@ -0,0 +1,209 @@ +diff -Naur avogadro-1.0.3.orig/avogadro/src/mainwindow.h avogadro-1.0.3/avogadro/src/mainwindow.h +--- avogadro-1.0.3.orig/avogadro/src/mainwindow.h 2011-04-25 05:22:18.000000000 +0000 ++++ avogadro-1.0.3/avogadro/src/mainwindow.h 2012-07-11 13:57:36.624006453 +0000 +@@ -24,6 +24,7 @@ + #ifndef MAINWINDOW_H + #define MAINWINDOW_H + ++#include <cstddef> + #include <Eigen/Geometry> + #include "ui_mainwindow.h" + #include "flattabwidget.h" +diff -Naur avogadro-1.0.3.orig/libavogadro/src/tools/eyecandy.h avogadro-1.0.3/libavogadro/src/tools/eyecandy.h +--- avogadro-1.0.3.orig/libavogadro/src/tools/eyecandy.h 2011-04-25 05:22:18.000000000 +0000 ++++ avogadro-1.0.3/libavogadro/src/tools/eyecandy.h 2012-07-11 13:43:22.892050693 +0000 +@@ -25,6 +25,7 @@ + #ifndef EYECANDY_H + #define EYECANDY_H + ++#include <cstddef> + #include <Eigen/Core> + + namespace Avogadro { +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/crystallography/avospglib.h avogadro-1.1.0/libavogadro/src/extensions/crystallography/avospglib.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/crystallography/avospglib.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/crystallography/avospglib.h 2012-12-02 23:46:44.297457487 +0000 +@@ -18,6 +18,7 @@ + #ifndef AVOSPGLIB_H + #define AVOSPGLIB_H + ++#include <cstddef> + #include <Eigen/Core> + + #include <QtCore/QList> +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimcriticalpointlocator.cpp avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimcriticalpointlocator.cpp +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimcriticalpointlocator.cpp 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimcriticalpointlocator.cpp 2012-12-03 00:46:44.820773931 +0000 +@@ -28,6 +28,7 @@ + #include "qtaimlsodaintegrator.h" + #include "qtaimmathutilities.h" + ++#include <cstddef> + #include <Eigen/Core> + + #include <QList> +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimlsodaintegrator.h avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimlsodaintegrator.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimlsodaintegrator.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimlsodaintegrator.h 2012-12-03 00:32:41.095760808 +0000 +@@ -30,6 +30,7 @@ + #include <QVector3D> + #include <QPair> + ++#include <cstddef> + #include <Eigen/Core> + + #include "qtaimwavefunction.h" +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimmathutilities.cpp avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimmathutilities.cpp +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimmathutilities.cpp 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimmathutilities.cpp 2012-12-03 00:46:24.188773609 +0000 +@@ -23,6 +23,7 @@ + **********************************************************************/ + + #include <cmath> ++#include <cstddef> + #include <Eigen/QR> + + #include "qtaimmathutilities.h" +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimmathutilities.h avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimmathutilities.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimmathutilities.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimmathutilities.h 2012-12-03 00:32:01.134760196 +0000 +@@ -26,6 +26,7 @@ + + #include <QtGlobal> + ++#include <cstddef> + #include <Eigen/Core> + + using namespace Eigen; +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimodeintegrator.h avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimodeintegrator.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimodeintegrator.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimodeintegrator.h 2012-12-03 00:33:01.432761053 +0000 +@@ -30,6 +30,7 @@ + #include <QVector3D> + #include <QPair> + ++#include <cstddef> + #include <Eigen/Core> + + #include "qtaimwavefunction.h" +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimwavefunctionevaluator.h avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimwavefunctionevaluator.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/qtaim/qtaimwavefunctionevaluator.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/qtaim/qtaimwavefunctionevaluator.h 2012-12-03 00:33:28.571761559 +0000 +@@ -10,6 +10,7 @@ + + #include "qtaimwavefunction.h" + ++#include <cstddef> + #include <Eigen/Core> + + using namespace Eigen; +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/atom.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/atom.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/atom.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/atom.h 2012-12-02 23:57:35.872728048 +0000 +@@ -19,6 +19,7 @@ + + #include "molecule.h" + ++#include <cstddef> + #include <Eigen/Core> + + namespace OpenQube { +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/cube.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/cube.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/cube.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/cube.h 2012-12-03 00:16:50.638746161 +0000 +@@ -20,6 +20,7 @@ + #include "openqubeabi.h" + + #include <vector> ++#include <cstddef> + #include <Eigen/Core> + #include <QtCore/QString> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gamessukout.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gamessukout.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gamessukout.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gamessukout.h 2012-12-03 00:17:25.300746590 +0000 +@@ -19,6 +19,7 @@ + + #include "gaussianset.h" + ++#include <cstddef> + #include <Eigen/Core> + + #include <vector> +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gamessus.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gamessus.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gamessus.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gamessus.h 2012-12-03 00:17:40.584746828 +0000 +@@ -18,6 +18,7 @@ + #define GAMESSUS_H + + #include <QtCore/QIODevice> ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gaussianfchk.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gaussianfchk.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gaussianfchk.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gaussianfchk.h 2012-12-03 00:17:52.130747005 +0000 +@@ -18,6 +18,7 @@ + #define GAUSSIANFCHK_H + + #include <QtCore/QIODevice> ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gaussianset.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gaussianset.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/gaussianset.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/gaussianset.h 2012-12-03 00:18:04.072747212 +0000 +@@ -22,6 +22,7 @@ + + #include <QtCore/QFuture> + ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/molden.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/molden.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/molden.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/molden.h 2012-12-03 00:18:23.164747493 +0000 +@@ -17,6 +17,7 @@ + #ifndef MOLDEN_H + #define MOLDEN_H + ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/molecule.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/molecule.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/molecule.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/molecule.h 2012-12-03 00:08:10.094737989 +0000 +@@ -22,6 +22,7 @@ + #include "atom.h" + + #include <vector> ++#include <cstddef> + #include <Eigen/Core> + + namespace OpenQube { +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/mopacaux.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/mopacaux.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/mopacaux.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/mopacaux.h 2012-12-03 00:18:48.113747871 +0000 +@@ -18,6 +18,7 @@ + #define MOPACAUX_H + + #include <QtCore/QTextStream> ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + +diff -Naur avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/slaterset.h avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/slaterset.h +--- avogadro-1.1.0.orig/libavogadro/src/extensions/surfaces/openqube/slaterset.h 2012-09-03 17:07:00.000000000 +0000 ++++ avogadro-1.1.0/libavogadro/src/extensions/surfaces/openqube/slaterset.h 2012-12-03 00:19:11.592748237 +0000 +@@ -21,6 +21,7 @@ + + #include <QtCore/QFuture> + ++#include <cstddef> + #include <Eigen/Core> + #include <vector> + |