summaryrefslogtreecommitdiff
path: root/academic/avogadro/patches/gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/avogadro/patches/gcc-4.7.patch')
-rw-r--r--academic/avogadro/patches/gcc-4.7.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/academic/avogadro/patches/gcc-4.7.patch b/academic/avogadro/patches/gcc-4.7.patch
new file mode 100644
index 0000000000..ffa4cd9439
--- /dev/null
+++ b/academic/avogadro/patches/gcc-4.7.patch
@@ -0,0 +1,22 @@
+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 {