commit:     3674bd90bada921616390a2d91be199e3365f363
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 20 21:15:57 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 20 21:15:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3674bd90

media-tv/tvheadend: Update hdhomerun patch for 9999

Closes: https://bugs.gentoo.org/675916
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../tvheadend/files/tvheadend-4.3-hdhomerun.patch  | 36 ++++++++++++++++++++++
 media-tv/tvheadend/tvheadend-9999.ebuild           |  2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch 
b/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch
new file mode 100644
index 00000000000..1689c2e4051
--- /dev/null
+++ b/media-tv/tvheadend/files/tvheadend-4.3-hdhomerun.patch
@@ -0,0 +1,36 @@
+diff -Naur a/configure b/configure
+--- a/configure        2019-01-20 21:12:12.634450200 +0000
++++ b/configure        2019-01-20 21:12:52.502298542 +0000
+@@ -411,7 +411,7 @@
+ else
+ 
+   if enabled_or_auto hdhomerun_client; then
+-    if check_cc_header 'libhdhomerun/hdhomerun' libhdhomerun; then
++    if check_cc_header 'hdhomerun/hdhomerun' libhdhomerun; then
+       enable  hdhomerun_client
+       LDFLAGS="$LDFLAGS -lhdhomerun"
+     fi
+diff -Naur a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c 
b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c
+--- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c       2019-01-20 
21:12:12.707451725 +0000
++++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c       2019-01-20 
21:12:35.990947079 +0000
+@@ -17,7 +17,7 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
+-#include "libhdhomerun/hdhomerun.h"
++#include <hdhomerun/hdhomerun.h>
+ 
+ #include "tvheadend.h"
+ #include "input.h"
+diff -Naur a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c 
b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
+--- a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c      2019-01-20 
21:12:12.707451725 +0000
++++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c      2019-01-20 
21:12:35.991947101 +0000
+@@ -17,7 +17,7 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
+-#include "libhdhomerun/hdhomerun.h"
++#include <hdhomerun/hdhomerun.h>
+ 
+ #include <fcntl.h>
+ #include "tvheadend.h"

diff --git a/media-tv/tvheadend/tvheadend-9999.ebuild 
b/media-tv/tvheadend/tvheadend-9999.ebuild
index 700a7cc5a1d..7fa2c9c7f25 100644
--- a/media-tv/tvheadend/tvheadend-9999.ebuild
+++ b/media-tv/tvheadend/tvheadend-9999.ebuild
@@ -57,7 +57,7 @@ REQUIRED_USE="
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.0.9-use_system_queue.patch
-       "${FILESDIR}"/${PN}-4.2.1-hdhomerun.patch
+       "${FILESDIR}"/${PN}-4.3-hdhomerun.patch
        "${FILESDIR}"/${PN}-4.2.2-dtv_scan_tables.patch
 )
 

Reply via email to