From e0308c2146020dea42d92ba52b54d4e6daaedf55 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sun, 3 Jul 2011 19:53:19 +0000 Subject: - 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. --- multimedia/libxine/files/patch-src:xine-engine:post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'multimedia/libxine/files/patch-src:xine-engine:post.h') 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 } \ -- cgit v1.2.3