fix FTBFS because of missing unistd.h include
This commit is contained in:
parent
f6b76951c3
commit
8ab5f58173
12
qt-mobility-opensource-src-1.2.0-include-unistdh.patch
Normal file
12
qt-mobility-opensource-src-1.2.0-include-unistdh.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up qt-mobility-opensource-src-1.2.0/src/systeminfo/linux/qsysteminfo_linux.cpp.include-unistdh qt-mobility-opensource-src-1.2.0/src/systeminfo/linux/qsysteminfo_linux.cpp
|
||||
--- qt-mobility-opensource-src-1.2.0/src/systeminfo/linux/qsysteminfo_linux.cpp.include-unistdh 2011-09-22 08:59:10.000000000 +0200
|
||||
+++ qt-mobility-opensource-src-1.2.0/src/systeminfo/linux/qsysteminfo_linux.cpp 2012-02-24 15:45:21.341266421 +0100
|
||||
@@ -51,6 +51,8 @@
|
||||
#endif // Q_WS_X11
|
||||
#endif // Q_WS_MAEMO_6
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
QTM_BEGIN_NAMESPACE
|
||||
|
||||
QSystemInfoPrivate::QSystemInfoPrivate(QSystemInfoLinuxCommonPrivate *parent)
|
@ -6,7 +6,7 @@
|
||||
|
||||
Name: qt-mobility
|
||||
Version: 1.2.0
|
||||
Release: 7.%{snap}%{?dist}
|
||||
Release: 8.%{snap}%{?dist}
|
||||
Summary: Qt Mobility Framework
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2 with exceptions
|
||||
@ -27,6 +27,8 @@ Provides: qt4-mobility%{?_isa} = %{version}-%{release}
|
||||
Patch50: qt-mobility-opensource-src-1.2.0-translationsdir.patch
|
||||
# add pkgconfig for linux-* platforms too
|
||||
Patch51: qt-mobility-opensource-src-1.2.0-pkgconfig.patch
|
||||
# gcc 4.7, missing unistd.h for getppid
|
||||
Patch52: qt-mobility-opensource-src-1.2.0-include-unistdh.patch
|
||||
|
||||
## upstream patches
|
||||
# double-check if this is still required -- Rex
|
||||
@ -98,6 +100,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%patch50 -p1 -b .translationsdir
|
||||
%patch51 -p1 -b .pkgconfig
|
||||
%patch52 -p1 -b .include-unistdh
|
||||
%patch101 -p1 -b .pulseaudio_lib
|
||||
|
||||
|
||||
@ -238,6 +241,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 24 2012 Jaroslav Reznik <jreznik@redhat.com> - 1.2.0-8.20110922
|
||||
- fix FTBFS because of missing unistd.h include
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7.20110922
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user