public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/tvheadend: bump version
Date: Mon,  1 Jul 2019 22:18:33 +0200	[thread overview]
Message-ID: <20190701201834.19994-1-bernd.kuhls@t-online.de> (raw)

Removed patch which was applied upstream.
Added patch to fix uClibc build error.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 ...ude-stdio.h-before-tvheadend-headers.patch | 63 +++++++++++++++++++
 ...pie-linking-according-to-disable-pie.patch | 34 ----------
 package/tvheadend/tvheadend.hash              |  2 +-
 package/tvheadend/tvheadend.mk                |  2 +-
 4 files changed, 65 insertions(+), 36 deletions(-)
 create mode 100644 package/tvheadend/0002-Include-stdio.h-before-tvheadend-headers.patch
 delete mode 100644 package/tvheadend/0002-Makefile-fix-pie-linking-according-to-disable-pie.patch

diff --git a/package/tvheadend/0002-Include-stdio.h-before-tvheadend-headers.patch b/package/tvheadend/0002-Include-stdio.h-before-tvheadend-headers.patch
new file mode 100644
index 0000000000..5c111ad161
--- /dev/null
+++ b/package/tvheadend/0002-Include-stdio.h-before-tvheadend-headers.patch
@@ -0,0 +1,63 @@
+From 5387b1b8decc1767a200c7fd860472225a10878d Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Mon, 1 Jul 2019 22:08:47 +0200
+Subject: [PATCH] Include stdio.h before tvheadend headers
+
+Fixes build error with uClibc: https://www.tvheadend.org/issues/5667
+
+Patch sent upstream:
+https://github.com/tvheadend/tvheadend/pull/1283
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ src/main.c       | 2 +-
+ src/tvh_locale.c | 1 +
+ src/tvhlog.c     | 2 +-
+ 3 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/main.c b/src/main.c
+index 0e3bb4ab0..feb8e3025 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -16,10 +16,10 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
++#include <stdio.h>
+ #include <tvh_thread.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+-#include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff --git a/src/tvh_locale.c b/src/tvh_locale.c
+index a7c5150f5..7d1420e99 100644
+--- a/src/tvh_locale.c
++++ b/src/tvh_locale.c
+@@ -16,6 +16,7 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
++#include <stdio.h>
+ #include "tvh_thread.h"
+ #include "tvh_locale.h"
+ #include "tvh_string.h"
+diff --git a/src/tvhlog.c b/src/tvhlog.c
+index 156b2110b..5e025cec4 100644
+--- a/src/tvhlog.c
++++ b/src/tvhlog.c
+@@ -16,9 +16,9 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
++#include <stdio.h>
+ #include "tvhlog.h"
+ #include <string.h>
+-#include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+-- 
+2.20.1
+
diff --git a/package/tvheadend/0002-Makefile-fix-pie-linking-according-to-disable-pie.patch b/package/tvheadend/0002-Makefile-fix-pie-linking-according-to-disable-pie.patch
deleted file mode 100644
index 385c94b36b..0000000000
--- a/package/tvheadend/0002-Makefile-fix-pie-linking-according-to-disable-pie.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 5cbf08213222cb507d365e6cbda87277f0b8f31e Mon Sep 17 00:00:00 2001
-From: Giulio Benetti <giulio.benetti@micronovasrl.com>
-Date: Fri, 14 Jun 2019 14:25:08 +0200
-Subject: [PATCH] Makefile: fix -pie linking according to --disable-pie
-
-Only compilation follows './configure --disable-pie', linking instead
-doesn't, because '-pie' flag is passed to LDFLAGS uncoditionally.
-
-So add '-pie' flag only if CONFIG_PIE=yes.
-
-Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
----
- Makefile | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 41783b546..4e5a947a3 100644
---- a/Makefile
-+++ b/Makefile
-@@ -62,7 +62,10 @@ LDFLAGS += -ldl -lm
- else
- LDFLAGS += -ldl -lpthread -lm
- endif
--LDFLAGS += -pie -Wl,-z,now
-+ifeq ($(CONFIG_PIE),yes)
-+LDFLAGS += -pie
-+endif
-+LDFLAGS += -Wl,-z,now
- ifeq ($(CONFIG_LIBICONV),yes)
- LDFLAGS += -liconv
- endif
--- 
-2.17.1
-
diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash
index 43178b874a..243b6a1bdc 100644
--- a/package/tvheadend/tvheadend.hash
+++ b/package/tvheadend/tvheadend.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256 92c5f2cdda085b81fc50025afeb3ece74f60fae2b26f40a7dd07e227b0db2d9f  tvheadend-17dff3e5ffbd67174b6c0d7b49f5488e19ec1ead.tar.gz
+sha256 6efa0b62f004829f91243939181ddb08d2f7da05105e2b2305a15ce512ba3de3  tvheadend-dcc50db45b322da22241c01807643160c16ccfc2.tar.gz
 sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942  LICENSE.md
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index b192a33d4a..1f4de5082c 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TVHEADEND_VERSION = 17dff3e5ffbd67174b6c0d7b49f5488e19ec1ead
+TVHEADEND_VERSION = dcc50db45b322da22241c01807643160c16ccfc2
 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
 TVHEADEND_LICENSE = GPL-3.0+
 TVHEADEND_LICENSE_FILES = LICENSE.md
-- 
2.20.1

             reply	other threads:[~2019-07-01 20:18 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 20:18 Bernd Kuhls [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-04-10  5:30 [Buildroot] [PATCH 1/1] package/tvheadend: bump version Bernd Kuhls
2026-01-24  7:46 Bernd Kuhls
2026-01-24 12:19 ` Julien Olivain via buildroot
2025-11-15 21:06 Bernd Kuhls
2025-11-16 17:15 ` Julien Olivain via buildroot
2025-10-01 21:06 Bernd Kuhls
2025-10-03 19:07 ` Julien Olivain via buildroot
2025-07-24 19:26 Bernd Kuhls
2025-07-25 17:42 ` Julien Olivain via buildroot
2025-06-16 19:12 Bernd Kuhls
2025-06-16 21:02 ` Julien Olivain
2024-10-26 21:36 Bernd Kuhls
2024-10-27 18:43 ` Thomas Petazzoni via buildroot
2024-08-05 19:06 Bernd Kuhls
2024-08-05 20:41 ` Thomas Petazzoni via buildroot
2024-07-28  7:53 Bernd Kuhls
2024-07-29 17:59 ` Thomas Petazzoni via buildroot
2024-06-29  9:57 Bernd Kuhls
2024-06-30 14:49 ` Arnout Vandecappelle via buildroot
2024-03-24 13:06 Bernd Kuhls
2024-03-24 14:56 ` Arnout Vandecappelle via buildroot
2024-01-03 19:26 Bernd Kuhls
2024-01-04 21:31 ` Thomas Petazzoni via buildroot
2023-10-26 18:04 Bernd Kuhls
2023-10-29  8:46 ` Yann E. MORIN
2023-07-30 19:15 Bernd Kuhls
2023-07-30 20:47 ` Thomas Petazzoni via buildroot
2023-04-28 12:51 Bernd Kuhls
2023-05-01  7:17 ` Peter Korsgaard
2022-12-29 19:45 Bernd Kuhls
2023-01-05  9:23 ` Peter Korsgaard
2022-07-03 13:02 Bernd Kuhls
2022-07-08  7:34 ` Peter Korsgaard
2022-07-08  7:35 ` Peter Korsgaard
2021-12-06 19:02 Bernd Kuhls
2021-12-11 21:07 ` Arnout Vandecappelle
2021-03-28  8:22 Bernd Kuhls
2021-03-28 19:45 ` Thomas Petazzoni
2020-09-20  7:22 Bernd Kuhls
2020-09-20 13:23 ` Thomas Petazzoni
2020-06-14 10:52 Bernd Kuhls
2020-06-14 14:19 ` Yann E. MORIN
2020-01-04 18:54 Bernd Kuhls
2020-01-05 21:01 ` Peter Korsgaard
2019-10-21 17:14 Bernd Kuhls
2019-10-21 19:41 ` Thomas Petazzoni
2019-10-17 17:21 Bernd Kuhls
2018-07-28  8:24 Bernd Kuhls
2018-07-28 14:07 ` Thomas Petazzoni
2018-06-23 18:55 Bernd Kuhls
2018-06-25 20:16 ` Thomas Petazzoni
2018-04-10 19:32 Bernd Kuhls
2017-10-21 18:02 Bernd Kuhls
2017-10-21 19:20 ` Thomas Petazzoni
2017-09-20 10:54 Bernd Kuhls
2017-09-20 17:44 ` Peter Korsgaard
2017-09-04 18:57 Bernd Kuhls
2017-09-05 20:13 ` Thomas Petazzoni
2017-09-05 20:16   ` Yann E. MORIN
2017-09-06  6:55     ` Thomas Petazzoni
2017-09-06 16:35       ` Yann E. MORIN
2017-09-06 20:50         ` Bernd Kuhls
2017-01-22 14:50 Bernd Kuhls
2017-01-22 22:34 ` Peter Korsgaard
2016-06-01 19:28 Bernd Kuhls
2016-06-01 21:35 ` Thomas Petazzoni
2016-03-16 20:47 Bernd Kuhls
2016-03-16 21:16 ` Peter Korsgaard
2015-11-07 10:34 Bernd Kuhls
2015-11-09 21:28 ` Thomas Petazzoni
2015-06-20 11:32 Bernd Kuhls
2015-06-21  4:34 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190701201834.19994-1-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox