Date: Sun, 7 May 2017 12:17:28 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440334 - in head/audio/musicpd: . files Message-ID: <201705071217.v47CHS77024590@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sun May 7 12:17:28 2017 New Revision: 440334 URL: https://svnweb.freebsd.org/changeset/ports/440334 Log: 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. PR: 219048 Reported by: hideo@lastamericanempire.com Added: head/audio/musicpd/files/patch-src_Compiler.h (contents, props changed) Modified: head/audio/musicpd/Makefile Modified: head/audio/musicpd/Makefile ============================================================================== --- head/audio/musicpd/Makefile Sun May 7 11:50:49 2017 (r440333) +++ head/audio/musicpd/Makefile Sun May 7 12:17:28 2017 (r440334) @@ -2,7 +2,7 @@ PORTNAME= musicpd PORTVERSION= 0.20.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio ipv6 MASTER_SITES= http://www.musicpd.org/download/mpd/${PORTVERSION:R}/ DISTNAME= mpd-${PORTVERSION} Added: head/audio/musicpd/files/patch-src_Compiler.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/musicpd/files/patch-src_Compiler.h Sun May 7 12:17:28 2017 (r440334) @@ -0,0 +1,11 @@ +--- src/Compiler.h.orig 2017-01-27 07:46:51 UTC ++++ src/Compiler.h +@@ -86,7 +86,7 @@ + #define gcc_noreturn __attribute__((noreturn)) + #define gcc_packed __attribute__((packed)) + #define gcc_printf(a,b) __attribute__((format(printf, a, b))) +-#define gcc_pure __attribute__((pure)) ++#define gcc_pure + #define gcc_sentinel __attribute__((sentinel)) + #define gcc_unused __attribute__((unused)) + #define gcc_warn_unused_result __attribute__((warn_unused_result))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705071217.v47CHS77024590>