diff options
author | marcus <marcus@FreeBSD.org> | 2010-05-31 01:08:59 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2010-05-31 01:08:59 +0800 |
commit | aad5a42e32c44af49a28e976636709388800a1ba (patch) | |
tree | d54e1c2c24fedd5bf9791ae748cdc686554f3d78 /net-im/libpurple | |
parent | cea15b8303f91c72ba72c3f650a7aca0098e50ce (diff) | |
download | freebsd-ports-gnome-aad5a42e32c44af49a28e976636709388800a1ba.tar.gz freebsd-ports-gnome-aad5a42e32c44af49a28e976636709388800a1ba.tar.zst freebsd-ports-gnome-aad5a42e32c44af49a28e976636709388800a1ba.zip |
Fix the build when WITHOUT_GSTREAMER is defined.
PR: 146856
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'net-im/libpurple')
-rw-r--r-- | net-im/libpurple/files/patch-libpurple-media-backend-fs2.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <gst/gst.h> + 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 |