1 |
kensington 12/06/23 13:54:30 |
2 |
|
3 |
Added: bangarang-2.1-gcc-4.7.patch |
4 |
Log: |
5 |
Add patch from upstream to fix build with GCC 4.7, wrt bug #423063. |
6 |
|
7 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: bangarang-2.1-gcc-4.7.patch |
16 |
=================================================================== |
17 |
commit b893fcdb7ddfc8c59fd29a29b7265a713c3dbab1 |
18 |
Author: Alex Fiestas <afiestas@×××.org> |
19 |
Date: Thu Mar 29 10:09:22 2012 +0200 |
20 |
|
21 |
Build fix: Add unistd.h include since sleep is defined there |
22 |
|
23 |
diff --git a/src/platform/infofetchers/lastfminfofetcher.cpp b/src/platform/infofetchers/lastfminfofetcher.cpp |
24 |
index 0c49d69..fcc4cd3 100644 |
25 |
--- a/src/platform/infofetchers/lastfminfofetcher.cpp |
26 |
+++ b/src/platform/infofetchers/lastfminfofetcher.cpp |
27 |
@@ -32,6 +32,8 @@ |
28 |
#include <QFile> |
29 |
#include <QTextEdit> |
30 |
|
31 |
+#include <unistd.h> |
32 |
+ |
33 |
LastfmInfoFetcher::LastfmInfoFetcher(QObject *parent) : |
34 |
InfoFetcher(parent) |
35 |
{ |
36 |
diff --git a/src/platform/infofetchers/tmdbinfofetcher.cpp b/src/platform/infofetchers/tmdbinfofetcher.cpp |
37 |
index 7801644..3c01960 100644 |
38 |
--- a/src/platform/infofetchers/tmdbinfofetcher.cpp |
39 |
+++ b/src/platform/infofetchers/tmdbinfofetcher.cpp |
40 |
@@ -30,6 +30,8 @@ |
41 |
#include <QDomDocument> |
42 |
#include <QFile> |
43 |
|
44 |
+#include <unistd.h> |
45 |
+ |
46 |
TMDBInfoFetcher::TMDBInfoFetcher(QObject *parent) : |
47 |
InfoFetcher(parent) |
48 |
{ |
49 |
diff --git a/src/platform/infofetchers/tvdbinfofetcher.cpp b/src/platform/infofetchers/tvdbinfofetcher.cpp |
50 |
index ff351b0..670ed18 100644 |
51 |
--- a/src/platform/infofetchers/tvdbinfofetcher.cpp |
52 |
+++ b/src/platform/infofetchers/tvdbinfofetcher.cpp |
53 |
@@ -30,6 +30,8 @@ |
54 |
#include <QDomDocument> |
55 |
#include <QFile> |
56 |
|
57 |
+#include <unistd.h> |
58 |
+ |
59 |
TVDBInfoFetcher::TVDBInfoFetcher(QObject *parent) : |
60 |
InfoFetcher(parent) |
61 |
{ |