commit:     797e35a438359be9ee9ae405fb2f41ebf270db71
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  9 13:45:04 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Aug  9 13:45:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797e35a4

media-tv/mythtv: Fixed detection of >=qt-5.10

Package-Manager: Portage-2.3.45, Repoman-2.3.10

 media-tv/mythtv/files/mythtv-0.28.1-qt511.patch | 11 +++++++++++
 media-tv/mythtv/mythtv-0.28.1-r4.ebuild         |  1 +
 2 files changed, 12 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch
new file mode 100644
index 00000000000..3fab1e6b548
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -5907,7 +5907,7 @@
+ enabled pic && enable_weak_pic
+ 
+ is_qmake5(){
+-    $1 --version 2>&1 | egrep -q -e "Qt version 5\.[2-9]\.[0-9]"
++    $1 --version 2>&1 | egrep -q -e 'Qt version 
5\.(([1-9][0-9]+)|[2-9])\.[0-9]'
+ }
+ 
+ # qmake-qt5 /usr/lib64/qt5/bin/qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

diff --git a/media-tv/mythtv/mythtv-0.28.1-r4.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
index b5d2925cc37..24a3c0c7042 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
@@ -177,6 +177,7 @@ src_prepare() {
 
        eapply "${FILESDIR}/${P}-glibc225.patch"
        eapply -p2 "${FILESDIR}/${PN}-29.2-freetype_pkgconfig.patch" #658534
+       eapply "${FILESDIR}/${P}-qt511.patch"
 }
 
 src_configure() {

Reply via email to