Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2012 18:10:06 GMT
From:      arrowdodger <6yearold@gmail.com>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: ports/171341: multimedia/vlc: Doesn't build with clang
Message-ID:  <201209051810.q85IA6nC071703@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: arrowdodger <6yearold@gmail.com>
To: Juergen Lock <nox@jelal.kn-bremen.de>
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 <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
 > ===================================================================
 > --- 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:<br><br>=C2=A0 CXX=C2=A0=C2=A0=C2=A0 dia=
 logs/libqt4_plugin_la-help.lo<br>dialogs/help.cpp:115:27: error: differing =
 user-defined suffixes (&#39;__DATE__&#39; and &#39;__TIME__&#39;) in string=
  literal concatenation<br>
 
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 + &quot;=
  (&quot;__DATE__&quot; &quot;__TIME__&quot;).\n&quot;<br>=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 ~~~~~~~~~~~~^~=
 ~~~~~~~~~<br>1 error generated.<br>gmake[6]: *** [dialogs/libqt4_plugin_la-=
 help.lo] Error 1<br>gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/=
 work/vlc-2.0.3/modules/gui/qt4&#39;<br>
 
 <br><div class=3D"gmail_quote">On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock=
  <span dir=3D"ltr">&lt;<a href=3D"mailto:nox@jelal.kn-bremen.de" target=3D"=
 _blank">nox@jelal.kn-bremen.de</a>&gt;</span> wrote:<br><blockquote class=
 =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
 ing-left:1ex">
 
 [Now with the right PR, sorry]<br>
 <br>
 Hm query-pr.cgi doesn&#39;t pick up the patch properly, here is it again,<b=
 r>
 this time against the port dir:<br>
 <br>
 Index: files/patch-include-vlc_common.h<br>
 =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<br>
 --- files/patch-include-vlc_common.h.orig<br>
 +++ files/patch-include-vlc_common.h<br>
 @@ -0,0 +1,11 @@<br>
 +--- include/vlc_common.h.orig<br>
 ++++ include/vlc_common.h<br>
 +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne<br>
 + #endif<br>
 + }<br>
 +<br>
 +-#ifdef __OS2__<br>
 ++#if defined(__OS2__) || defined(__FreeBSD__)<br>
 + # =C2=A0 undef bswap16<br>
 + # =C2=A0 undef bswap32<br>
 + # =C2=A0 undef bswap64<br>
 <br>
 </blockquote></div><br>
 
 --f46d042c6b8dfdacb004c8f84723--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209051810.q85IA6nC071703>