From patchwork Sat Jul 6 06:42:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1128403 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45ghwm5j4kz9sN4 for ; Sat, 6 Jul 2019 16:42:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E86BB2033C; Sat, 6 Jul 2019 06:42:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vJCi03ei+VaP; Sat, 6 Jul 2019 06:42:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5150120356; Sat, 6 Jul 2019 06:42:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 374C81BF2B0 for ; Sat, 6 Jul 2019 06:42:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2B1098781C for ; Sat, 6 Jul 2019 06:42:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MbZt89cDh2dk for ; Sat, 6 Jul 2019 06:42:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by hemlock.osuosl.org (Postfix) with ESMTPS id 84BC487263 for ; Sat, 6 Jul 2019 06:42:39 +0000 (UTC) Received: from fwd38.aul.t-online.de (fwd38.aul.t-online.de [172.20.26.138]) by mailout02.t-online.de (Postfix) with SMTP id F049E41E9ACC for ; Sat, 6 Jul 2019 08:42:36 +0200 (CEST) Received: from fli4l.lan.fli4l (GuC2QGZB8h63Y+ZysWcfa3v5sPCxWOK6fjgMfRMTPs3D1hvzA8dj2hJqC7mFL0WQTB@[91.58.12.45]) by fwd38.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1hjeP6-4WZ6pc0; Sat, 6 Jul 2019 08:42:36 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:46658) by fli4l.lan.fli4l with esmtp (Exim 4.92) (envelope-from ) id 1hjeP6-0001N4-2y for buildroot@buildroot.org; Sat, 06 Jul 2019 08:42:36 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 6 Jul 2019 08:42:36 +0200 Message-Id: <20190706064236.30663-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-ID: GuC2QGZB8h63Y+ZysWcfa3v5sPCxWOK6fjgMfRMTPs3D1hvzA8dj2hJqC7mFL0WQTB X-TOI-MSGID: db1c33ea-0539-477c-8530-4b28f9207c82 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: fix build error X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/627/627e7080e655005d6724b9977670cc73059d6281/ Signed-off-by: Bernd Kuhls --- .../0002-tvhcsa.c-include-stdio.h.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/tvheadend/0002-tvhcsa.c-include-stdio.h.patch diff --git a/package/tvheadend/0002-tvhcsa.c-include-stdio.h.patch b/package/tvheadend/0002-tvhcsa.c-include-stdio.h.patch new file mode 100644 index 0000000000..a1e80568fb --- /dev/null +++ b/package/tvheadend/0002-tvhcsa.c-include-stdio.h.patch @@ -0,0 +1,40 @@ +From 693e3a3fe281dd618dd244b245c9bb0a00c7d893 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 6 Jul 2019 08:36:11 +0200 +Subject: [PATCH] tvhcsa.c: include stdio.h + +Fixes uclibc build error: + +CC src/descrambler/tvhcsa.o +In file included from /home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvhlog.h:30:0, + from src/descrambler/tvhcsa.h:30, + from src/descrambler/tvhcsa.c:19: +/home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvh_thread.h:163:25: + error: unknown type name '__do_not_use_pthread_mutex_t' + #define pthread_mutex_t __do_not_use_pthread_mutex_t + +detected by buildroot autobuilder: +http://autobuild.buildroot.net/results/627/627e7080e655005d6724b9977670cc73059d6281/ + +Patch sent upstream: https://github.com/tvheadend/tvheadend/pull/1285 + +Signed-off-by: Bernd Kuhls +--- + src/descrambler/tvhcsa.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/descrambler/tvhcsa.c b/src/descrambler/tvhcsa.c +index 1deefc50f..e97c14e99 100644 +--- a/src/descrambler/tvhcsa.c ++++ b/src/descrambler/tvhcsa.c +@@ -16,6 +16,7 @@ + * along with this program. If not, see . + */ + ++#include + #include "tvhcsa.h" + #include "input.h" + #include "input/mpegts/tsdemux.h" +-- +2.20.1 +