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:
Martin Dummer
2024-06-20 19:03:33 +02:00
committed by Conrad Kostecki
parent c58b6d3116
commit ba86a6cfd5
2 changed files with 12 additions and 1 deletions

View File

@@ -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)

View File

@@ -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"