diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-08-01 20:07:21 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-08-01 20:07:21 +0000 |
commit | 7f041af1287c23f0107b6dcbd1ee22f3282a65d5 (patch) | |
tree | ca148ced07f3e75d3ded49564db3b3ffcccc45e7 /multimedia | |
parent | 13cfe50a07e6b811272bf23e38c63d7d5b36dbce (diff) | |
download | ports-7f041af1287c23f0107b6dcbd1ee22f3282a65d5.tar.gz ports-7f041af1287c23f0107b6dcbd1ee22f3282a65d5.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vlc/Makefile | 5 | ||||
-rw-r--r-- | multimedia/vlc/files/extra-patch-src_misc_thread.c | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index e23dea78d9d9..bcf8881ab91e 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -10,6 +10,7 @@ PORTNAME= vlc DISTVERSION= 1.0.0 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \ @@ -95,6 +96,10 @@ MAN1= vlc.1 \ .include <bsd.port.pre.mk> +.if (${OSVERSION} < 701000) +EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_misc_thread.c +.endif + WITH_VLC_DEFAULT_FONT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf .if ${PERL_LEVEL} < 500800 diff --git a/multimedia/vlc/files/extra-patch-src_misc_thread.c b/multimedia/vlc/files/extra-patch-src_misc_thread.c new file mode 100644 index 000000000000..9647b82f1878 --- /dev/null +++ b/multimedia/vlc/files/extra-patch-src_misc_thread.c @@ -0,0 +1,11 @@ +--- src/misc/threads.c.orig 2009-08-01 09:34:56.000000000 -0400 ++++ src/misc/threads.c 2009-08-01 09:40:24.000000000 -0400 +@@ -784,7 +784,7 @@ + pthread_sigmask (SIG_BLOCK, &set, &oldset); + } + +-#if defined (_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING >= 0) \ ++#if 0 && defined (_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING >= 0) \ + && defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ + && (_POSIX_THREAD_PRIORITY_SCHEDULING >= 0) + { |