From 887b806d3c0ab80b74f43d05b1feddf7b3e582c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Tue, 3 Jul 2018 18:46:27 +0200 Subject: [PATCH 2/2] Remove fixes for building with Perl > 2.24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are now fixed upstream (in release 0.5.70). https://github.com/XMLTV/xmltv/commit/785fe7afe0aaf1d5ee3faabc6d8ef9d6cefea6c8 https://github.com/XMLTV/xmltv/commit/c2dfc866eb544e08e043a334afd4e7b7fcf1c409 https://github.com/XMLTV/xmltv/commit/1ea7b00425d974c40c66bdff996fb56960f3fa1f Signed-off-by: Jiří Klimeš --- PKGBUILD | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 72dc54c..7de313f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -48,15 +48,3 @@ package() { find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } - -prepare() { - # To build corectly with Perl 5.26 - # see https://sourceforge.net/p/xmltv/mailman/message/36001436/ - # and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865045 - sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_latex - sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_text - sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i "$pkgname-$pkgver"/grab/it/tv_grab_it.PL - sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/filter/tv_grep.PL - sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i "$pkgname-$pkgver"/lib/XMLTV.pm.PL - sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/Makefile.PL -} -- 2.18.0