ports/171341: multimedia/vlc: Doesn't build with clang
arrowdodger
6yearold at gmail.com
Wed Sep 5 18:10:07 UTC 2012
The following reply was made to PR ports/171341; it has been noted by GNATS.
From: arrowdodger <6yearold at gmail.com>
To: Juergen Lock <nox at jelal.kn-bremen.de>
Cc: bug-followup at freebsd.org, multimedia at 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 at 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 ('__DATE__' and '__TIME__') 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 + "=
("__DATE__" "__TIME__").\n"<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'<br>
<br><div class=3D"gmail_quote">On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock=
<span dir=3D"ltr"><<a href=3D"mailto:nox at jelal.kn-bremen.de" target=3D"=
_blank">nox at jelal.kn-bremen.de</a>></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'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--
More information about the freebsd-multimedia
mailing list