summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2024-06-20 19:03:33 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-06-22 21:09:49 +0200
commitba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4 (patch)
tree02dd95595bd373b48ff6f9797001459779cbd83f /media-video
parentmedia-video/vdr-2.6.7: fix USE=pinplugin (diff)
downloadgentoo-ba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4.tar.gz
gentoo-ba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4.tar.bz2
gentoo-ba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4.zip
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>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vdr/files/vdr-2.2.0_gentoo.patch11
-rw-r--r--media-video/vdr/vdr-2.2.0-r7.ebuild2
2 files changed, 12 insertions, 1 deletions
diff --git a/media-video/vdr/files/vdr-2.2.0_gentoo.patch b/media-video/vdr/files/vdr-2.2.0_gentoo.patch
index 70066f5b0c86..9fba406f39fb 100644
--- a/media-video/vdr/files/vdr-2.2.0_gentoo.patch
+++ b/media-video/vdr/files/vdr-2.2.0_gentoo.patch
@@ -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)
diff --git a/media-video/vdr/vdr-2.2.0-r7.ebuild b/media-video/vdr/vdr-2.2.0-r7.ebuild
index 1f82375d5508..89490df1119d 100644
--- a/media-video/vdr/vdr-2.2.0-r7.ebuild
+++ b/media-video/vdr/vdr-2.2.0-r7.ebuild
@@ -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"