ports/171341: multimedia/vlc: Doesn't build with clang

Juergen Lock nox at jelal.kn-bremen.de
Wed Sep 5 16:50:08 UTC 2012


The following reply was made to PR ports/171341; it has been noted by GNATS.

From: Juergen Lock <nox at jelal.kn-bremen.de>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang
Date: Wed, 5 Sep 2012 18:44:01 +0200

 Interesting that this didn't occur when I tested clang...  Anyway,
 can you try this patch:  (put it in files/patch-include-vlc_common.h )
 
 --- include/vlc_common.h.orig
 +++ include/vlc_common.h
 @@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne
  #endif
  }
  
 -#ifdef __OS2__
 +#if defined(__OS2__) || defined(__FreeBSD__)
  #   undef bswap16
  #   undef bswap32
  #   undef bswap64
 
  Thanx!
 	Juergen


More information about the freebsd-multimedia mailing list