void-packages/srcpkgs/rhythmbox/patches/fix-build.patch

32 lines
982 B
Diff
Raw Normal View History

From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 9 Oct 2017 13:11:47 +0200
Subject: fmradio: Fix build with GStreamer master
The plugin description is not supposed to be a string constant, but an
unescaped string, to be concatenated with function names.
This used to be acceptable (though would have warned), but breaks with
the GStreamer 1.13 development branch.
rb-fm-radio-gst-src.c:181:6: error: pasting ""rbsilencesrc"" and "_get_desc" does not give a valid preprocessing token
"rbsilencesrc",
^
https://bugzilla.gnome.org/show_bug.cgi?id=788706
---
plugins/fmradio/rb-fm-radio-gst-src.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- plugins/fmradio/rb-fm-radio-gst-src.c
+++ plugins/fmradio/rb-fm-radio-gst-src.c
@@ -178,7 +178,7 @@ plugin_init (GstPlugin *plugin)
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "rbsilencesrc",
+ rbsilencesrc,
"element to output silence",
plugin_init,
VERSION,