~ubuntu-desktop/rhythmbox/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/fix-build-with-gstreamer114.patch

  • Committer: Jeremy Bicha
  • Date: 2018-03-26 14:48:24 UTC
  • Revision ID: jbicha@ubuntu.com-20180326144824-ld59fedrvwyyg08i
Merge with Debian 3.4.2-4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Bastien Nocera <hadess@hadess.net>
 
2
Date: Mon, 9 Oct 2017 13:11:47 +0200
 
3
Subject: fmradio: Fix build with GStreamer master
 
4
 
 
5
The plugin description is not supposed to be a string constant, but an
 
6
unescaped string, to be concatenated with function names.
 
7
 
 
8
This used to be acceptable (though would have warned), but breaks with
 
9
the GStreamer 1.13 development branch.
 
10
 
 
11
rb-fm-radio-gst-src.c:181:6: error: pasting ""rbsilencesrc"" and "_get_desc" does not give a valid preprocessing token
 
12
      "rbsilencesrc",
 
13
      ^
 
14
 
 
15
https://bugzilla.gnome.org/show_bug.cgi?id=788706
 
16
---
 
17
 plugins/fmradio/rb-fm-radio-gst-src.c | 2 +-
 
18
 1 file changed, 1 insertion(+), 1 deletion(-)
 
19
 
 
20
diff --git a/plugins/fmradio/rb-fm-radio-gst-src.c b/plugins/fmradio/rb-fm-radio-gst-src.c
 
21
index 09d709c..88abdaf 100644
 
22
--- a/plugins/fmradio/rb-fm-radio-gst-src.c
 
23
+++ b/plugins/fmradio/rb-fm-radio-gst-src.c
 
24
@@ -178,7 +178,7 @@ plugin_init (GstPlugin *plugin)
 
25
 
 
26
 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
 
27
                   GST_VERSION_MINOR,
 
28
-                  "rbsilencesrc",
 
29
+                  rbsilencesrc,
 
30
                   "element to output silence",
 
31
                   plugin_init,
 
32
                   VERSION,