mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
media-video/vdr-2.2.0-r7: fix clang compile error
fix pkgcheck issue Closes: https://bugs.gentoo.org/919117 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/37210 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
c58b6d3116
commit
ba86a6cfd5
@@ -1,5 +1,16 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,8 +54,8 @@
|
||||
|
||||
# Mandatory compiler flags:
|
||||
|
||||
-CFLAGS += -fPIC
|
||||
-CXXFLAGS += -fPIC
|
||||
+CFLAGS += -fPIC -std=c++14
|
||||
+CXXFLAGS += -fPIC -std=c++14
|
||||
|
||||
# Common include files:
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
VDRVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h)
|
||||
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h)
|
||||
|
||||
@@ -17,7 +17,6 @@ EXT_PATCH_FLAGS_RENAMED_EXT_NAME="bidi no_kbd sdnotify"
|
||||
|
||||
MY_PV="${PV%_p*}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
EXT_P="extpng-${P}-gentoo-edition-v1"
|
||||
|
||||
@@ -25,6 +24,7 @@ DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DV
|
||||
HOMEPAGE="http://www.tvdr.de/"
|
||||
SRC_URI="ftp://ftp.tvdr.de/vdr/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${EXT_P}.patch.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
Reference in New Issue
Block a user