summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-04-14 08:12:45 +0000
committerJustin Lecher <jlec@gentoo.org>2011-04-14 08:12:45 +0000
commit29d14ec4599642b8fbf414c19a9b3163619f39ce (patch)
treea12dceae5c5af94a1f698ec36e7b70f4ebc99739 /sci-physics/hepmc/files
parentImport from sunrise, I will proxy flow in this case. (diff)
downloadgentoo-2-29d14ec4599642b8fbf414c19a9b3163619f39ce.tar.gz
gentoo-2-29d14ec4599642b8fbf414c19a9b3163619f39ce.tar.bz2
gentoo-2-29d14ec4599642b8fbf414c19a9b3163619f39ce.zip
Fix for compilation with gcc-4.6, #363539
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/hepmc/files')
-rw-r--r--sci-physics/hepmc/files/hepmc-2.06.04-gcc46.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-physics/hepmc/files/hepmc-2.06.04-gcc46.patch b/sci-physics/hepmc/files/hepmc-2.06.04-gcc46.patch
new file mode 100644
index 000000000000..9b19cf70ba9a
--- /dev/null
+++ b/sci-physics/hepmc/files/hepmc-2.06.04-gcc46.patch
@@ -0,0 +1,28 @@
+ HepMC/GenEvent.h | 1 +
+ HepMC/GenVertex.h | 1 +
+ 2 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/HepMC/GenEvent.h b/HepMC/GenEvent.h
+index 72374cb..d10b9a0 100644
+--- a/HepMC/GenEvent.h
++++ b/HepMC/GenEvent.h
+@@ -137,6 +137,7 @@ namespace HepMC {
+ #include <vector>
+ #include <algorithm>
+ #include <iostream>
++#include <cstddef>
+
+ namespace HepMC {
+
+diff --git a/HepMC/GenVertex.h b/HepMC/GenVertex.h
+index 2f3d4de..fc3bf63 100644
+--- a/HepMC/GenVertex.h
++++ b/HepMC/GenVertex.h
+@@ -29,6 +29,7 @@
+ #include <vector>
+ #include <set>
+ #include <algorithm>
++#include <cstddef>
+
+ namespace HepMC {
+