--- /dev/null
+--- mythtv-0.26.1/libs/libmythtv/videosource.cpp~ 2013-08-15 16:44:02.000000000 +0200
++++ mythtv-0.26.1/libs/libmythtv/videosource.cpp 2018-10-21 14:27:32.946282606 +0200
+@@ -5,6 +5,7 @@
+ #include <fcntl.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+
+ // C++ headers
+ #include <algorithm>
Summary(pl.UTF-8): Osobista aplikacja do nagrywania obrazu (PVR)
Name: mythtv
Version: 0.26.1
-Release: 10
+Release: 11
License: GPL v2
Group: Applications/Multimedia
Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
Patch2: python-install.patch
Patch3: moc.patch
Patch4: cxx11.patch
+Patch5: major-minor.patch
Patch20: %{name}-compile_fixes_for_qt_4_7.patch
Patch30: %{name}-dshowserver-0.22.patch
URL: http://www.mythtv.org/
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{?with_dshowserver:%patch20 -p1}
#%patch30 -p1
--disable-ccache \
--disable-distcc \
--compile-type=%{?debug:debug}%{!?debug:release} \
- --extra-cflags="%{rpmcflags} -fomit-frame-pointer -fno-devirtualize -Wno-narrowing" \
- --extra-cxxflags="%{rpmcxxflags} -fomit-frame-pointer -fno-devirtualize -Wno-narrowing" \
+ --extra-cflags="%{rpmcflags} -fpermissive -fomit-frame-pointer -fno-devirtualize -Wno-narrowing" \
+ --extra-cxxflags="%{rpmcxxflags} -fpermissive -fomit-frame-pointer -fno-devirtualize -Wno-narrowing" \
%if %{with cpu_autodetect}
--enable-proc-opt \
%else