Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/tvheadend: fix build error
@ 2019-07-06  6:42 Bernd Kuhls
  2019-07-27 20:37 ` Thomas Petazzoni
  2019-08-01  9:19 ` Peter Korsgaard
  0 siblings, 2 replies; 8+ messages in thread
From: Bernd Kuhls @ 2019-07-06  6:42 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/627/627e7080e655005d6724b9977670cc73059d6281/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../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 <bernd.kuhls@t-online.de>
+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 <bernd.kuhls@t-online.de>
+---
+ 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 <http://www.gnu.org/licenses/>.
+  */
+ 
++#include <stdio.h>
+ #include "tvhcsa.h"
+ #include "input.h"
+ #include "input/mpegts/tsdemux.h"
+-- 
+2.20.1
+
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-01 17:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-06  6:42 [Buildroot] [PATCH 1/1] package/tvheadend: fix build error Bernd Kuhls
2019-07-27 20:37 ` Thomas Petazzoni
2019-07-27 20:44   ` Bernd Kuhls
2019-07-28  8:56     ` Bernd Kuhls
2019-08-01  9:19       ` Peter Korsgaard
2019-08-01 17:15         ` Bernd Kuhls
2019-08-01 17:26           ` Peter Korsgaard
2019-08-01  9:19 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox