aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxine
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-07-04 03:53:19 +0800
committernox <nox@FreeBSD.org>2011-07-04 03:53:19 +0800
commit062dcbb7e95e04bd61699d94ab51e6abc92e5dae (patch)
tree4dd4ae04f9042d1ba7086b8f1823bc92358fcfba /multimedia/libxine
parentbe23990308b068d12ffb50ceb7a4de2f9232d1eb (diff)
downloadfreebsd-ports-gnome-062dcbb7e95e04bd61699d94ab51e6abc92e5dae.tar.gz
freebsd-ports-gnome-062dcbb7e95e04bd61699d94ab51e6abc92e5dae.tar.zst
freebsd-ports-gnome-062dcbb7e95e04bd61699d94ab51e6abc92e5dae.zip
- 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.
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/Makefile2
-rw-r--r--multimedia/libxine/files/patch-src:xine-engine:post.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 43301bfc0af6..fb265b2f7a9d 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xine
PORTVERSION= 1.1.19
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= multimedia ipv6
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
PKGNAMEPREFIX= lib
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 } \