1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix the build when WITHOUT_GSTREAMER is defined.

PR:		146856
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
This commit is contained in:
Joe Marcus Clarke 2010-05-30 17:08:59 +00:00
parent 5f4ba1d598
commit 9c6e10544c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255328

View File

@ -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