summaryrefslogtreecommitdiff
path: root/multimedia/libxine
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-09-06 21:45:37 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-09-06 21:45:37 +0000
commit738b7edbd5c89e87ca607da1624645197bdc5223 (patch)
treeee396cfeb8977a63c71cd2d5404fc3f5dff16903 /multimedia/libxine
parentUpdate to 1.61. (diff)
(Attempt to) Fix build with clang+libc++.
Submitted by: pb2 via bapt
Notes
Notes: svn path=/head/; revision=326551
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/files/patch-include-xine-post.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libxine/files/patch-include-xine-post.h b/multimedia/libxine/files/patch-include-xine-post.h
index 80f41beafb59..19b1eb3ba49d 100644
--- a/multimedia/libxine/files/patch-include-xine-post.h
+++ b/multimedia/libxine/files/patch-include-xine-post.h
@@ -1,6 +1,16 @@
--- include/xine/post.h.orig
+++ include/xine/post.h
-@@ -397,7 +397,7 @@ static xine_post_api_parameter_t temp_p[
+@@ -23,6 +23,9 @@
+ #ifndef XINE_POST_H
+ #define XINE_POST_H
+
++/* for offsetof() */
++#include <stddef.h>
++
+ #include <xine.h>
+ #include <xine/video_out.h>
+ #include <xine/audio_out.h>
+@@ -397,7 +400,7 @@ static xine_post_api_parameter_t temp_p[
#define PARAM_ITEM( param_type, var, enumv, min, max, readonly, descr ) \
{ param_type, #var, sizeof(temp_s.var), \