Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/tvheadend/, media-tv/tvheadend/files/
Date: Sun, 20 Jan 2019 21:16:43
Message-Id: 1548018957.3674bd90bada921616390a2d91be199e3365f363.chewi@gentoo
1 commit: 3674bd90bada921616390a2d91be199e3365f363
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 20 21:15:57 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 20 21:15:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3674bd90
7
8 media-tv/tvheadend: Update hdhomerun patch for 9999
9
10 Closes: https://bugs.gentoo.org/675916
11 Package-Manager: Portage-2.3.56, Repoman-2.3.12
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 .../tvheadend/files/tvheadend-4.3-hdhomerun.patch | 36 ++++++++++++++++++++++
15 media-tv/tvheadend/tvheadend-9999.ebuild | 2 +-
16 2 files changed, 37 insertions(+), 1 deletion(-)
17
18 diff --git a/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch b/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch
19 new file mode 100644
20 index 00000000000..1689c2e4051
21 --- /dev/null
22 +++ b/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch
23 @@ -0,0 +1,36 @@
24 +diff -Naur a/configure b/configure
25 +--- a/configure 2019-01-20 21:12:12.634450200 +0000
26 ++++ b/configure 2019-01-20 21:12:52.502298542 +0000
27 +@@ -411,7 +411,7 @@
28 + else
29 +
30 + if enabled_or_auto hdhomerun_client; then
31 +- if check_cc_header 'libhdhomerun/hdhomerun' libhdhomerun; then
32 ++ if check_cc_header 'hdhomerun/hdhomerun' libhdhomerun; then
33 + enable hdhomerun_client
34 + LDFLAGS="$LDFLAGS -lhdhomerun"
35 + fi
36 +diff -Naur a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c
37 +--- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c 2019-01-20 21:12:12.707451725 +0000
38 ++++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c 2019-01-20 21:12:35.990947079 +0000
39 +@@ -17,7 +17,7 @@
40 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
41 + */
42 +
43 +-#include "libhdhomerun/hdhomerun.h"
44 ++#include <hdhomerun/hdhomerun.h>
45 +
46 + #include "tvheadend.h"
47 + #include "input.h"
48 +diff -Naur a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
49 +--- a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c 2019-01-20 21:12:12.707451725 +0000
50 ++++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c 2019-01-20 21:12:35.991947101 +0000
51 +@@ -17,7 +17,7 @@
52 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
53 + */
54 +
55 +-#include "libhdhomerun/hdhomerun.h"
56 ++#include <hdhomerun/hdhomerun.h>
57 +
58 + #include <fcntl.h>
59 + #include "tvheadend.h"
60
61 diff --git a/media-tv/tvheadend/tvheadend-9999.ebuild b/media-tv/tvheadend/tvheadend-9999.ebuild
62 index 700a7cc5a1d..7fa2c9c7f25 100644
63 --- a/media-tv/tvheadend/tvheadend-9999.ebuild
64 +++ b/media-tv/tvheadend/tvheadend-9999.ebuild
65 @@ -57,7 +57,7 @@ REQUIRED_USE="
66
67 PATCHES=(
68 "${FILESDIR}"/${PN}-4.0.9-use_system_queue.patch
69 - "${FILESDIR}"/${PN}-4.2.1-hdhomerun.patch
70 + "${FILESDIR}"/${PN}-4.3-hdhomerun.patch
71 "${FILESDIR}"/${PN}-4.2.2-dtv_scan_tables.patch
72 )