summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.4_c++11.patch')
-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 00000000000..91df23911a4
--- /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)
+ {