fix ftbfs patch

This commit is contained in:
Rex Dieter 2014-04-28 09:12:16 -05:00
parent 5ff0ec57ce
commit 94f21a98e8
3 changed files with 13 additions and 13 deletions

View File

@ -0,0 +1,11 @@
diff -up qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp.sensors_qtbfs qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp
--- qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp.sensors_qtbfs 2014-03-25 14:26:00.000000000 -0500
+++ qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp 2014-04-28 09:11:14.118957034 -0500
@@ -41,6 +41,7 @@
#include <QWidget>
#include <qaccelerometer.h>
+#include <qmagnetometer.h>
#include <qorientationsensor.h>
QTM_USE_NAMESPACE

View File

@ -1,11 +0,0 @@
diff -up qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp.ftbfs qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp
--- qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp.ftbfs 2014-03-25 14:26:00.000000000 -0500
+++ qt-mobility-opensource-src-1.2.2/doc/src/snippets/sensors/creating.cpp 2014-04-28 08:13:01.822948887 -0500
@@ -40,6 +40,7 @@
****************************************************************************/
#include <QWidget>
+#include <QtSensors/QMagnetometer>
#include <qaccelerometer.h>
#include <qorientationsensor.h>

View File

@ -29,7 +29,7 @@ Patch50: qt-mobility-opensource-src-1.2.0-translationsdir.patch
# add pkgconfig for linux-* platforms too, Requires.private: QtCore
Patch51: qt-mobility-opensource-src-1.2.2-pkgconfig.patch
# fix ftbfs in sensors doc
Patch52: qt-mobility-opensource-src-1.2.2-sensors_qtbfs.patch
Patch52: qt-mobility-opensource-src-1.2.2-sensors_ftbfs.patch
# dso
Patch53: qt-mobility-opensource-src-1.1.0-pulseaudio-lib.patch
@ -103,7 +103,7 @@ rm -r src/3rdparty/proj
%patch50 -p1 -b .translationsdir
%patch51 -p1 -b .pkgconfig
%patch52 -p1 -b .sensors_qtbfs
%patch52 -p1 -b .sensors_ftbfs
%patch53 -p1 -b .pulseaudio_lib