Date: Wed, 5 Sep 2012 16:50:07 GMT From: Juergen Lock <nox@jelal.kn-bremen.de> To: freebsd-multimedia@FreeBSD.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Message-ID: <201209051650.q85Go7HQ044263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock <nox@jelal.kn-bremen.de> To: bug-followup@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209051650.q85Go7HQ044263>