svn commit: r440334 - in head/audio/musicpd: . files
Thomas Zander
riggs at FreeBSD.org
Sun May 7 12:17:29 UTC 2017
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 at 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))
More information about the svn-ports-all
mailing list