From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 16:50:08 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65E65106564A for ; Wed, 5 Sep 2012 16:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 485528FC0A for ; Wed, 5 Sep 2012 16:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85Go7hF044276 for ; Wed, 5 Sep 2012 16:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85Go7HQ044263; Wed, 5 Sep 2012 16:50:07 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 16:50:07 GMT Message-Id: <201209051650.q85Go7HQ044263@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 16:50:08 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock 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