summaryrefslogtreecommitdiff
path: root/media-sound/hydrogen/files/hydrogen-0.9.5-gcc47.patch
blob: 3ea43e36e3cda3e08d3719d4ac7ab9519892d502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Build with gcc 4.7
https://bugs.gentoo.org/show_bug.cgi?id=421913

Index: hydrogen-0.9.5/gui/src/MainForm.cpp
===================================================================
--- hydrogen-0.9.5.orig/gui/src/MainForm.cpp
+++ hydrogen-0.9.5/gui/src/MainForm.cpp
@@ -70,6 +70,7 @@ using namespace H2Core;
 
 #include <memory>
 #include <cassert>
+#include <unistd.h>
 
 using namespace std;
 using namespace H2Core;
Index: hydrogen-0.9.5/gui/src/SongEditor/SongEditor.cpp
===================================================================
--- hydrogen-0.9.5.orig/gui/src/SongEditor/SongEditor.cpp
+++ hydrogen-0.9.5/gui/src/SongEditor/SongEditor.cpp
@@ -21,6 +21,7 @@
  */
 
 #include <assert.h>
+#include <unistd.h>
 #include <algorithm>
 #include <memory>