From 9c6e10544cd6b20eb7817ad6189aeeb7fa5a128e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 30 May 2010 17:08:59 +0000 Subject: Fix the build when WITHOUT_GSTREAMER is defined. PR: 146856 Submitted by: Sunpoet Po-Chuan Hsieh --- .../files/patch-libpurple-media-backend-fs2.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net-im/libpurple/files/patch-libpurple-media-backend-fs2.h (limited to 'net-im/libpurple') diff --git a/net-im/libpurple/files/patch-libpurple-media-backend-fs2.h b/net-im/libpurple/files/patch-libpurple-media-backend-fs2.h new file mode 100644 index 000000000000..3ddf151f3a4a --- /dev/null +++ b/net-im/libpurple/files/patch-libpurple-media-backend-fs2.h @@ -0,0 +1,18 @@ +--- libpurple/media/backend-fs2.h.orig 2010-05-22 16:51:01.677902000 +0800 ++++ libpurple/media/backend-fs2.h 2010-05-23 16:07:07.000000000 +0800 +@@ -59,6 +59,7 @@ + * Temporary function in order to be able to test while + * integrating with PurpleMedia + */ ++#ifdef USE_GSTREAMER + #include + GstElement *purple_media_backend_fs2_get_src( + PurpleMediaBackendFs2 *self, +@@ -70,6 +71,7 @@ + const gchar *sess_id, double level); + void purple_media_backend_fs2_set_output_volume(PurpleMediaBackendFs2 *self, + const gchar *sess_id, const gchar *who, double level); ++#endif + /* end tmp */ + + G_END_DECLS -- cgit v1.2.3