diff options
Diffstat (limited to 'meta/recipes-qt/qt4/qt-mobility-1.2.0/gcc-scope.patch')
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility-1.2.0/gcc-scope.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-mobility-1.2.0/gcc-scope.patch b/meta/recipes-qt/qt4/qt-mobility-1.2.0/gcc-scope.patch new file mode 100644 index 0000000000..f01ee9f4df --- /dev/null +++ b/meta/recipes-qt/qt4/qt-mobility-1.2.0/gcc-scope.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | |||
2 | Fixes issues like below | ||
3 | |||
4 | | qaudiooutput_pulse.cpp: In member function 'bool QPulseAudioOutput::open()': | ||
5 | | qaudiooutput_pulse.cpp:255:75: error: '::getpid' has not been declared | ||
6 | | make[3]: *** [../../../build/Debug/qtmedia_pulse/qaudiooutput_pulse.o] Error 1 | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Index: qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp | ||
13 | =================================================================== | ||
14 | --- qt-mobility-opensource-src-1.2.0.orig/plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp 2012-03-31 07:26:24.457018348 -0700 | ||
15 | +++ qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp 2012-03-31 07:27:53.309022654 -0700 | ||
16 | @@ -46,7 +46,7 @@ | ||
17 | #include "qaudiodeviceinfo_pulse.h" | ||
18 | #include "qpulseaudioengine.h" | ||
19 | #include "qpulsehelpers.h" | ||
20 | - | ||
21 | +#include <unistd.h> | ||
22 | QT_BEGIN_NAMESPACE | ||
23 | |||
24 | const int PeriodTimeMs = 20; | ||
25 | Index: qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp | ||
26 | =================================================================== | ||
27 | --- qt-mobility-opensource-src-1.2.0.orig/plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp 2012-03-31 07:29:19.997026831 -0700 | ||
28 | +++ qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp 2012-03-31 07:29:39.541027625 -0700 | ||
29 | @@ -46,6 +46,7 @@ | ||
30 | #include "qaudiodeviceinfo_pulse.h" | ||
31 | #include "qpulseaudioengine.h" | ||
32 | #include "qpulsehelpers.h" | ||
33 | +#include <unistd.h> | ||
34 | |||
35 | QT_BEGIN_NAMESPACE | ||
36 | |||
37 | Index: qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qpulseaudioengine.cpp | ||
38 | =================================================================== | ||
39 | --- qt-mobility-opensource-src-1.2.0.orig/plugins/multimedia/pulseaudio/qpulseaudioengine.cpp 2012-03-31 07:33:24.805038719 -0700 | ||
40 | +++ qt-mobility-opensource-src-1.2.0/plugins/multimedia/pulseaudio/qpulseaudioengine.cpp 2012-03-31 07:33:46.889039783 -0700 | ||
41 | @@ -46,6 +46,7 @@ | ||
42 | #include "qaudiodeviceinfo_pulse.h" | ||
43 | #include "qaudiooutput_pulse.h" | ||
44 | #include "qpulsehelpers.h" | ||
45 | +#include <unistd.h> | ||
46 | |||
47 | QT_BEGIN_NAMESPACE | ||
48 | |||