[packages/mythtv] - fix missiong major() and minor() defs - rel 11

baggins baggins at pld-linux.org
Sun Oct 21 14:39:48 CEST 2018


commit aaa586125710c14be614d9d905525c02de8cb132
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 21 14:39:29 2018 +0200

    - fix missiong major() and minor() defs
    - rel 11

 major-minor.patch | 10 ++++++++++
 mythtv.spec       |  8 +++++---
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 3d30eda..a8295c6 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -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
diff --git a/major-minor.patch b/major-minor.patch
new file mode 100644
index 0000000..c38c53d
--- /dev/null
+++ b/major-minor.patch
@@ -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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mythtv.git/commitdiff/aaa586125710c14be614d9d905525c02de8cb132



More information about the pld-cvs-commit mailing list