Il 23 mag 2017 20:54, "Antoine Jacoutot" <[email protected]> ha scritto:

OK aja


Landry,

Please go ahead with your update.

Thanks!
David


On Tue, May 23, 2017 at 08:16:47PM +0200, Landry Breuil wrote:
> On Tue, May 23, 2017 at 08:01:51PM +0200, Landry Breuil wrote:
> > On Tue, May 23, 2017 at 01:18:17PM -0400, Andre Smagin wrote:
> > > I think this is the relevant discussion about the same issue FreeBSD
had:
> > >
> > > https://github.com/MusicPlayerDaemon/MPD/issues/41
> > >
> > > This is the FreeBSD commit to fix it:
> > > https://svnweb.freebsd.org/ports/head/audio/musicpd/
files/patch-src_Compiler.h?revision=440334&view=markup
> > >
> > > "Fix library updating
> > > Details:
> > > Apparently, clang optimises exceptions with __attribute__((pure))
> > > more aggressively than gcc, causing mpd to not notice files removed
> > > from the library. This patch causes mpd to be built without the pure
> > > attribute."
> > >
> > >
> > > I am testing with this diff (from FreeBSD) now and at a first glance
> > > it seems to fix the database update problem:
> >
> > Good catch, testing it here too.
>
> Actually, we might aswell update to 0.20.8, which contains the fix
> commmited upstream (ie removing the gcc_pure usage) in
> https://github.com/MusicPlayerDaemon/MPD/commit/
788e3b31e1ab8243386339eaf136ede18f015d55
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/mpd/Makefile,v
> retrieving revision 1.103
> diff -u -r1.103 Makefile
> --- Makefile    12 Mar 2017 10:13:49 -0000      1.103
> +++ Makefile    23 May 2017 18:14:59 -0000
> @@ -2,7 +2,7 @@
>
>  BROKEN-hppa =          no atomic ops
>  COMMENT =              Music Player Daemon
> -VER =                  0.20.6
> +VER =                  0.20.8
>  DISTNAME =             mpd-${VER}
>  CATEGORIES =           audio
>  HOMEPAGE =             http://www.musicpd.org/
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/audio/mpd/distinfo,v
> retrieving revision 1.44
> diff -u -r1.44 distinfo
> --- distinfo    12 Mar 2017 10:13:49 -0000      1.44
> +++ distinfo    23 May 2017 18:14:59 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (mpd-0.20.6.tar.gz) = HRTyzRcGcIpRm7yI8wqsgF+HkSOMoIN0r18IJYcfVQI=
> -SIZE (mpd-0.20.6.tar.gz) = 1091201
> +SHA256 (mpd-0.20.8.tar.gz) = RRlzEbbDAlUoFQTjamrvtHktAqGmM4xVaq1jN0vL73g=
> +SIZE (mpd-0.20.8.tar.gz) = 1093412
>

--
Antoine

Reply via email to