From f65029d09b97e047c32279abe59c61821d386227 Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Tue, 16 Jun 2020 20:14:19 -0400 Subject: [PATCH] ppc853x: libbluray fix and tvheadend marked as unsupported (#4025) * libbluray: fix for ppc853x build failure For ppc853x-5.2 arch and version we need to define GNU_SOURCE for it to build properly. * tvheadend: unsupported on most ppc arches --- cross/libbluray/Makefile | 6 +++++- spk/tvheadend/Makefile | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cross/libbluray/Makefile b/cross/libbluray/Makefile index e59db044348..24e0ccdbe21 100644 --- a/cross/libbluray/Makefile +++ b/cross/libbluray/Makefile @@ -15,5 +15,9 @@ GNU_CONFIGURE = 1 CONFIGURE_ARGS = --disable-examples --disable-doxygen-doc --disable-doxygen-dot --disable-bdjava-jar -include ../../mk/spksrc.cross-cc.mk +# For ppc853x-5.2, define GNU_SOURCE +ifeq ($(ARCH)-$(TCVERSION), ppc853x-5.2) +ADDITIONAL_CFLAGS = -D_GNU_SOURCE +endif +include ../../mk/spksrc.cross-cc.mk diff --git a/spk/tvheadend/Makefile b/spk/tvheadend/Makefile index 3c04d2014d8..44c5627d30c 100644 --- a/spk/tvheadend/Makefile +++ b/spk/tvheadend/Makefile @@ -24,6 +24,10 @@ CHANGELOG = "1. Update to latest git version 51a4c5b as of June 10th 2020
2. HOMEPAGE = https://tvheadend.org/ LICENSE = GPL v3 +# PPC_ARCHES except qoriq are not supported +# https://tvheadend.org/issues/5060 +UNSUPPORTED_ARCHS = powerpc ppc824x ppc853x ppc854x + WIZARDS_DIR = src/wizard/ CONF_DIR = src/conf/