mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 12:10:06 +04:00
tvheadend: fix compilation with GCC 9 and 10
Without this, compilation fails because of a fortify-source header.
There's something defining and undefining _GNU_SOURCE somewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 57c6c5e73f)
This commit is contained in:
committed by
Josef Schlehofer
parent
fdee10fded
commit
4ddc4a6135
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tvheadend
|
||||
PKG_VERSION:=4.0.10
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/tvheadend/tvheadend/tar.gz/v$(PKG_VERSION)?
|
||||
|
||||
9
multimedia/tvheadend/patches/040-fortify.patch
Normal file
9
multimedia/tvheadend/patches/040-fortify.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
--- a/src/intlconv.c
|
||||
+++ b/src/intlconv.c
|
||||
@@ -1,3 +1,6 @@
|
||||
+#ifndef _GNU_SOURCE
|
||||
+#define _GNU_SOURCE
|
||||
+#endif
|
||||
#include <iconv.h>
|
||||
#include "tvheadend.h"
|
||||
#include "intlconv.h"
|
||||
Reference in New Issue
Block a user