aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-09-07 05:45:37 +0800
committernox <nox@FreeBSD.org>2013-09-07 05:45:37 +0800
commite3c4ac79c57140230ad7e570f56b0137793600e1 (patch)
treeee396cfeb8977a63c71cd2d5404fc3f5dff16903 /multimedia
parent0b647044b627bdc86021024b94c2bc64e2652f8e (diff)
downloadfreebsd-ports-gnome-e3c4ac79c57140230ad7e570f56b0137793600e1.tar.gz
freebsd-ports-gnome-e3c4ac79c57140230ad7e570f56b0137793600e1.tar.zst
freebsd-ports-gnome-e3c4ac79c57140230ad7e570f56b0137793600e1.zip
(Attempt to) Fix build with clang+libc++.
Submitted by: pb2 via bapt
Diffstat (limited to 'multimedia')
-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), \