From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:10:07 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 ED782106564A for ; Wed, 5 Sep 2012 18:10:06 +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 D7D898FC18 for ; Wed, 5 Sep 2012 18:10:06 +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 q85IA6QS071721 for ; Wed, 5 Sep 2012 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85IA6nC071703; Wed, 5 Sep 2012 18:10:06 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 18:10:06 GMT Message-Id: <201209051810.q85IA6nC071703@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: arrowdodger <6yearold@gmail.com> 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: arrowdodger <6yearold@gmail.com> List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:10:07 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: arrowdodger <6yearold@gmail.com> To: Juergen Lock Cc: bug-followup@freebsd.org, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 22:09:21 +0400 --f46d042c6b8dfdacb004c8f84723 Content-Type: text/plain; charset=UTF-8 Now it goes farther, but dies with: CXX dialogs/libqt4_plugin_la-help.lo dialogs/help.cpp:115:27: error: differing user-defined suffixes ('__DATE__' and '__TIME__') in string literal concatenation + " ("__DATE__" "__TIME__").\n" ~~~~~~~~~~~~^~~~~~~~~~~ 1 error generated. gmake[6]: *** [dialogs/libqt4_plugin_la-help.lo] Error 1 gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/modules/gui/qt4' On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock wrote: > [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 > > --f46d042c6b8dfdacb004c8f84723 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Now it goes farther, but dies with:

=C2=A0 CXX=C2=A0=C2=A0=C2=A0 dia= logs/libqt4_plugin_la-help.lo
dialogs/help.cpp:115:27: error: differing = user-defined suffixes ('__DATE__' and '__TIME__') in string= literal concatenation
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 + "= ("__DATE__" "__TIME__").\n"
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~^~= ~~~~~~~~~
1 error generated.
gmake[6]: *** [dialogs/libqt4_plugin_la-= help.lo] Error 1
gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/= work/vlc-2.0.3/modules/gui/qt4'

On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock= <nox@jelal.kn-bremen.de> wrote:
[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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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__)
+ # =C2=A0 undef bswap16
+ # =C2=A0 undef bswap32
+ # =C2=A0 undef bswap64


--f46d042c6b8dfdacb004c8f84723--