head	1.2;
access;
symbols
	pkgsrc-2018Q1:1.1.0.22
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.20
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.18
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.14
	pkgsrc-2017Q2-base:1.1
	pkgsrc-2017Q1:1.1.0.12
	pkgsrc-2017Q1-base:1.1
	pkgsrc-2016Q4:1.1.0.10
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.8
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.6
	pkgsrc-2016Q2-base:1.1
	pkgsrc-2016Q1:1.1.0.4
	pkgsrc-2016Q1-base:1.1
	pkgsrc-2015Q4:1.1.0.2
	pkgsrc-2015Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2018.04.25.21.42.05;	author kamil;	state dead;
branches;
next	1.1;
commitid	OKxmMnBtA7R6ZRzA;

1.1
date	2015.10.25.10.52.24;	author wiz;	state Exp;
branches;
next	;
commitid	YdVGq20ss7mCKtGy;


desc
@@


1.2
log
@vlc20: Removed

This is a legacy version of VLC 2.0.x.

Reasons:
 - It uses FFMPEG 2.x with old OpenSSL.
 - It uses legacy x264 incompatible with the pkgsrc one.

There is a newer version multimedia/vlc for 2.2.x and 3.0.x released
upstream.
@
text
@$NetBSD: patch-av,v 1.1 2015/10/25 10:52:24 wiz Exp $

--- include/vlc_common.h.orig	2011-12-11 22:34:47.000000000 +0000
+++ include/vlc_common.h
@@@@ -51,6 +51,9 @@@@
 #include <stdio.h>
 #include <inttypes.h>
 #include <stddef.h>
+#ifdef __NetBSD__
+#include <sys/param.h>
+#endif
 
 #ifndef __cplusplus
 # include <stdbool.h>
@@@@ -625,6 +628,8 @@@@ static inline unsigned clz (unsigned x)
 /* XXX: this assumes that int is 32-bits or more */
 #define clz32( x ) (clz(x) - ((sizeof(unsigned) - sizeof (uint32_t)) * 8))
 
+#if !defined(__NetBSD_Version__) || (__NetBSD_Version__ < 599001600)
+
 /** Bit weight */
 VLC_USED
 static inline unsigned popcount (unsigned x)
@@@@ -641,6 +646,7 @@@@ static inline unsigned popcount (unsigne
     return count;
 #endif
 }
+#endif /* NetBSD < 5.99.16 */
 
 #ifdef __OS2__
 #   undef bswap16
@@@@ -648,6 +654,8 @@@@ static inline unsigned popcount (unsigne
 #   undef bswap64
 #endif
 
+#ifndef __NetBSD__
+
 /** Byte swap (16 bits) */
 VLC_USED
 static inline uint16_t bswap16 (uint16_t x)
@@@@ -696,6 +704,7 @@@@ static inline uint64_t bswap64 (uint64_t
 #endif
 }
 
+#endif /* NetBSD */
 
 /* Free and set set the variable to NULL */
 #define FREENULL(a) do { free( a ); a = NULL; } while(0)
@


1.1
log
@Re-Import vlc-2.0.9nb21 (from vlc2) as multimedia/vlc20.

To better clarify which version this packages.

VideoLAN is a project of French students from the Ecole Centrale Paris
and developers from all over the world. Its main goals is MPEG streaming
on a network, but it also features a standalone multimedia player. The
VideoLAN Server can stream video read from a hard disk, a DVD player,
a satellite card or an MPEG 2 compression card, and unicast or multicast
it on a network. The VideoLAN Client can read the stream from the network
and display it. It can also be used to display video read locally on
the computer : DVDs, VCDs, MPEG and DivX files and from a satellite
card. It is multi-plaform : Linux, Windows, Mac OS X, BeOS, BSD, Solaris,
QNX, iPaq... The VideoLAN Client and Server now have a full IPv6 support.

This version is the last version with support for OSSv3, which is the
OSS version implemented in NetBSD before NetBSD 7.
@
text
@d1 1
a1 1
$NetBSD: patch-av,v 1.2 2012/03/20 12:06:17 obache Exp $
@

