commit 816b5edcb52f1dbd5e52843658b01334aeec433b
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Jan 4 13:36:14 2021 +0100
Rebuilt for new VDR API version
Force C++14 as this code is not C++17 ready, needed for gcc11
vdr-xineliboutput.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vdr-xineliboutput.spec b/vdr-xineliboutput.spec
index 1e15d30..45be7be 100644
--- a/vdr-xineliboutput.spec
+++ b/vdr-xineliboutput.spec
@@ -101,7 +101,7 @@ This package contain plugin for VDR
%build
FFMPEG_CFLAGS="$FFMPEG_CFLAGS $(${cross_prefix}pkg-config --cflags libavformat
libavcodec libswscale libavutil)"
export=FFMPEG_CFLAGS
-make CFLAGS="%{optflags} -fPIC $FFMPEG_CFLAGS" CXXFLAGS="%{optflags} -fPIC
$FFMPEG_CFLAGS" %{?_smp_mflags} all
+make CFLAGS="%{optflags} -fPIC $FFMPEG_CFLAGS" CXXFLAGS="-std=gnu++14
%{optflags} -fPIC $FFMPEG_CFLAGS" %{?_smp_mflags} all
%install
install -dm 755 %{buildroot}%{xineplugindir}
@@ -163,6 +163,7 @@ find %{buildroot}%{xineplugindir} -name '*.so' -exec chmod +x
'{}' ';'
%changelog
* Mon Jan 04 2021 Martin Gansser <martinkg(a)fedoraproject.org> -
2.2.0-6.20200830git0b9a01d
- Rebuilt for new VDR API version
+- Force C++14 as this code is not C++17 ready, needed for gcc11
* Tue Dec 01 2020 Martin Gansser <martinkg(a)fedoraproject.org> -
2.2.0-5.20200830git0b9a01d
- Update to 2.2.0-5.20200830git0b9a01d