summaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-src:xine-engine:post.h
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-07-03 19:53:19 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-07-03 19:53:19 +0000
commite0308c2146020dea42d92ba52b54d4e6daaedf55 (patch)
tree21530ab7e98c9eb27f16c0fe726a0b49f5b7f8a3 /multimedia/libxine/files/patch-src:xine-engine:post.h
parent- Fixed shared lib version in plist. (diff)
- Replace typeof by __typeof__ in the multimedia/libxine clang fixes for
the benefit of clients including xine headers in extern "C". - Unmark BROKEN multimedia/phonon-xine that this fixes.
Notes
Notes: svn path=/head/; revision=277018
Diffstat (limited to 'multimedia/libxine/files/patch-src:xine-engine:post.h')
-rw-r--r--multimedia/libxine/files/patch-src:xine-engine:post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/libxine/files/patch-src:xine-engine:post.h b/multimedia/libxine/files/patch-src:xine-engine:post.h
index ca430dcdffcc..3c62c9b35631 100644
--- a/multimedia/libxine/files/patch-src:xine-engine:post.h
+++ b/multimedia/libxine/files/patch-src:xine-engine:post.h
@@ -5,7 +5,7 @@
#define PARAM_ITEM( param_type, var, enumv, min, max, readonly, descr ) \
{ param_type, #var, sizeof(temp_s.var), \
- (char*)&temp_s.var-(char*)&temp_s, enumv, min, max, readonly, descr },
-+ offsetof(typeof(temp_s), var), enumv, min, max, readonly, descr },
++ offsetof(__typeof__(temp_s), var), enumv, min, max, readonly, descr },
#define END_PARAM_DESCR( name ) \
{ POST_PARAM_TYPE_LAST, NULL, 0, 0, NULL, 0, 0, 1, NULL } \