Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=4aa753e150a54c222f6009d4e8d4a5a14c05a749
commit 4aa753e150a54c222f6009d4e8d4a5a14c05a749 Author: crazy <[email protected]> Date: Sun Feb 11 16:00:52 2018 +0100 linuxtv-dvb-apps-1.1.1-2-x86_64 * rebuild with tc * added an patch to fix the build * fix options=() * fix perl stuff diff --git a/source/apps-extra/linuxtv-dvb-apps/FrugalBuild b/source/apps-extra/linuxtv-dvb-apps/FrugalBuild index ae8da42..3289e20 100644 --- a/source/apps-extra/linuxtv-dvb-apps/FrugalBuild +++ b/source/apps-extra/linuxtv-dvb-apps/FrugalBuild @@ -3,7 +3,7 @@ pkgname=linuxtv-dvb-apps pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Utilities for DVB cards" url="http://www.linuxtv.org" depends=('glibc') @@ -12,4 +12,9 @@ archs=('x86_64') _F_scm_type="mercurial" _F_scm_url="http://linuxtv.org/hg/dvb-apps" Finclude scm +source+=(ca_set_pid.patch) +options+=('noccache') +sha1sums=('d8886c36844a334fb014fc6684604e2fbfbef047') up2date="$pkgver" ## broken hg repo +## bleh.. +export PERL_USE_UNSAFE_INC=1 diff --git a/source/apps-extra/linuxtv-dvb-apps/ca_set_pid.patch b/source/apps-extra/linuxtv-dvb-apps/ca_set_pid.patch new file mode 100644 index 0000000..9d42efd --- /dev/null +++ b/source/apps-extra/linuxtv-dvb-apps/ca_set_pid.patch @@ -0,0 +1,30 @@ +diff -Naur dvb-apps/util/dst-utils/dst_test.c dvb-apps-p/util/dst-utils/dst_test.c +--- dvb-apps/util/dst-utils/dst_test.c 2018-02-11 15:57:05.135990355 +0100 ++++ dvb-apps-p/util/dst-utils/dst_test.c 2018-02-11 15:56:29.330965527 +0100 +@@ -111,15 +111,6 @@ + return 0; + } + +-static int dst_set_pid(int cafd) +-{ +- if ((ioctl(cafd, CA_SET_PID)) < 0) { +- printf("%s: ioctl failed ..\n", __FUNCTION__); +- return -1; +- } +- +- return 0; +-} + + static int dst_get_descr(int cafd) + { +@@ -229,10 +220,6 @@ + printf("%s: Reset\n", __FUNCTION__); + dst_reset(cafd); + break; +- case 'p': +- printf("%s: PID\n", __FUNCTION__); +- dst_set_pid(cafd); +- break; + case 'g': + printf("%s: Get Desc\n", __FUNCTION__); + dst_get_descr(cafd); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
