aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-06-28 08:18:05 +0800
committeravilla <avilla@FreeBSD.org>2011-06-28 08:18:05 +0800
commite4073e767f493c4fabe6174210c6022d993dacf1 (patch)
tree5248128d88c0d40740f02a2186b16fd6d25e4c3f /multimedia
parentcc3ee12cb6e3d59947c339483da1e556d91ed578 (diff)
downloadfreebsd-ports-graphics-e4073e767f493c4fabe6174210c6022d993dacf1.tar.gz
freebsd-ports-graphics-e4073e767f493c4fabe6174210c6022d993dacf1.tar.zst
freebsd-ports-graphics-e4073e767f493c4fabe6174210c6022d993dacf1.zip
- Fix build with Clang.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/qt4-phonon-gst/files/patch-src__3rdparty__phonon__gstreamer__artssink.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/qt4-phonon-gst/files/patch-src__3rdparty__phonon__gstreamer__artssink.h b/multimedia/qt4-phonon-gst/files/patch-src__3rdparty__phonon__gstreamer__artssink.h
new file mode 100644
index 00000000000..51d8a8abc2e
--- /dev/null
+++ b/multimedia/qt4-phonon-gst/files/patch-src__3rdparty__phonon__gstreamer__artssink.h
@@ -0,0 +1,28 @@
+--- ./src/3rdparty/phonon/gstreamer/artssink.h.orig 2011-06-28 01:58:24.379076184 +0200
++++ ./src/3rdparty/phonon/gstreamer/artssink.h 2011-06-28 01:58:41.639013768 +0200
+@@ -40,9 +40,6 @@
+ #define GST_IS_ARTS_SINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ARTS_SINK))
+ #define GST_IS_ARTS_SINK_CLASS(klass)(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ARTS_SINK))
+
+-typedef struct _ArtsSink ArtsSink;
+-typedef struct _ArtsSinkClass ArtsSinkClass;
+-
+ enum arts_parameter_t_enum {
+ ARTS_P_BUFFER_SIZE = 1,
+ ARTS_P_BUFFER_TIME = 2,
+@@ -65,6 +62,7 @@
+ int channels;
+ int bytes_per_sample;
+ };
++typedef struct _ArtsSink ArtsSink;
+
+ struct GConfClient;
+ struct GError;
+@@ -78,6 +76,7 @@
+ struct _ArtsSinkClass {
+ GstAudioSinkClass parent_class;
+ };
++typedef struct _ArtsSinkClass ArtsSinkClass;
+
+ GType arts_sink_get_type (void);
+ }