]> git.pld-linux.org Git - packages/mythtv.git/commitdiff
- fix missiong major() and minor() defs auto/th/mythtv-0.26.1-11
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 21 Oct 2018 12:39:29 +0000 (14:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 21 Oct 2018 12:39:29 +0000 (14:39 +0200)
- rel 11

major-minor.patch [new file with mode: 0644]
mythtv.spec

diff --git a/major-minor.patch b/major-minor.patch
new file mode 100644 (file)
index 0000000..c38c53d
--- /dev/null
@@ -0,0 +1,10 @@
+--- 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>
index 3d30edabe708e5f9065a92a0986b5d77cb6e1d88..a8295c69d4073b07e50ae32f0ca9763521fd89c6 100644 (file)
@@ -50,7 +50,7 @@ Summary:      A personal video recorder (PVR) application
 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
@@ -70,6 +70,7 @@ Patch1:               system-zeromq.patch
 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/
@@ -355,6 +356,7 @@ Ten pakiet zawiera moduły PHP do tworzenia dodatków dla mythtv.
 %patch2  -p1
 %patch3  -p1
 %patch4  -p1
+%patch5  -p1
 %{?with_dshowserver:%patch20 -p1}
 #%patch30 -p1
 
@@ -423,8 +425,8 @@ fi
        --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
This page took 0.076888 seconds and 4 git commands to generate.