summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2021-03-21 18:36:08 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2021-03-21 18:37:31 +0100
commit33001510803ac8d7da046da842d9b6aaeac64a09 (patch)
treecce510e638f077d8c4a9d7bc1cc757f571c89d00 /media-plugins/vdr-extrecmenu/files
parentgui-libs/egl-wayland: don't use -Werror for build (diff)
downloadgentoo-33001510803ac8d7da046da842d9b6aaeac64a09.tar.gz
gentoo-33001510803ac8d7da046da842d9b6aaeac64a09.tar.bz2
gentoo-33001510803ac8d7da046da842d9b6aaeac64a09.zip
media-plugins/vdr-extrecmenu: fixed compile on llvm/clang
Closes: https://bugs.gentoo.org/740282 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-extrecmenu/files')
-rw-r--r--media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.4_c++11.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.4_c++11.patch b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.4_c++11.patch
new file mode 100644
index 000000000000..91df23911a42
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.4_c++11.patch
@@ -0,0 +1,25 @@
+C++11 requires a space between literal and identifier
+https://bugs.gentoo.org/740282
+
+Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
+diff -Naur vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b.orig/mymenueditrecording.c vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b/mymenueditrecording.c
+--- vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b.orig/mymenueditrecording.c 2021-03-21 17:25:40.260078140 +0100
++++ vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b/mymenueditrecording.c 2021-03-21 17:26:15.560078140 +0100
+@@ -626,7 +626,7 @@
+ { //This has been taken from remotetimers-0.1.5, written by Frank Schmirler <vdrdev@schmirler.de>
+
+ #if VDRVERSNUM > 10713
+- cString InfoFileName=cString::sprintf(Recording->IsPesRecording()?"%s/"INFOFILE_PES:"%s/"INFOFILE_TS,Recording->FileName());
++ cString InfoFileName=cString::sprintf(Recording->IsPesRecording()?"%s/" INFOFILE_PES:"%s/" INFOFILE_TS,Recording->FileName());
+ FILE *f = fopen(InfoFileName, "a");
+ if (f)
+ {
+@@ -641,7 +641,7 @@
+ else
+ esyslog("[extrecmenu] writing to '%s' failed: %m", *InfoFileName);
+ #else
+- cString InfoFileName=cString::sprintf("%s/"INFOFILE_PES,Recording->FileName());
++ cString InfoFileName=cString::sprintf("%s/" INFOFILE_PES,Recording->FileName());
+ // check for write access as cRecording::WriteInfo() always returns true
+ if(access(InfoFileName,W_OK)==0)
+ {