From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 17:42:34 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ADB81065670; Wed, 5 Sep 2012 17:42:34 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id B986A8FC17; Wed, 5 Sep 2012 17:42:33 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6486C1E000F6; Wed, 5 Sep 2012 19:42:29 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85Hao69010305; Wed, 5 Sep 2012 19:36:50 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85HaoxG010304; Wed, 5 Sep 2012 19:36:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 19:36:50 +0200 To: bug-followup@freebsd.org Message-ID: <20120905173650.GA10291@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arrowdodger <6yearold@gmail.com>, multimedia@freebsd.org 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 List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 17:42:34 -0000 [Now with the right PR, sorry] Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir: Index: files/patch-include-vlc_common.h =================================================================== --- files/patch-include-vlc_common.h.orig +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- 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