[arch-commits] Commit in mythtv/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jul 23 12:36:12 UTC 2016
Date: Saturday, July 23, 2016 @ 12:36:11
Author: arojas
Revision: 183881
Fix segfault (FS#49863)
Modified:
mythtv/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-23 12:13:54 UTC (rev 183880)
+++ PKGBUILD 2016-07-23 12:36:11 UTC (rev 183881)
@@ -7,7 +7,7 @@
pkgname=mythtv
pkgver=0.28
-pkgrel=3
+pkgrel=4
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
@@ -27,8 +27,12 @@
replaces=('myththemes' 'mythplugins-mythvideo')
install='mythtv.install'
source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
+ mythtv-fix-segfault.patch::"https://github.com/MythTV/mythtv/commit/c3a79298.patch"
+ mythtv-gcc6.patch::"https://github.com/MythTV/mythtv/commit/e4f6e011.patch"
'mythbackend.service' '99-mythbackend.rules')
-sha256sums=('13d846c8163dcfe091ea3033d176cf5459bdd0ab671f8cf2539a17bd4479a3b2'
+sha256sums=('7b3476c0ec0fc17d6b734f0440383815e81850a70b78c12ee40d61a408eba340'
+ '60696991fcaa24fb61392401bd27cfa35a15b54f4bcc01aee54dc84440c6df99'
+ 'd35c4738f331ffff7d26d4cb98965689bdc72bd5b9776c1b31e5d97d06be724e'
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333')
@@ -36,6 +40,12 @@
cd $pkgname-$pkgver/$pkgname
find 'bindings/python' 'contrib' 'programs/scripts' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+# Fix segfault with GCC 6 https://github.com/MythTV/mythtv/pull/122
+ cd ..
+ patch -p1 -i "$srcdir"/mythtv-fix-segfault.patch
+# Fix build with GCC 6
+ patch -p1 -i "$srcdir"/mythtv-gcc6.patch
}
build() {
More information about the arch-commits
mailing list