pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/musicpd



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jan  8 09:31:32 UTC 2021

Modified Files:
        pkgsrc/audio/musicpd: Makefile

Log Message:
musicpd: Lower GCC requirement.

This is a build fix for NetBSD/earm...


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 pkgsrc/audio/musicpd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/musicpd/Makefile
diff -u pkgsrc/audio/musicpd/Makefile:1.232 pkgsrc/audio/musicpd/Makefile:1.233
--- pkgsrc/audio/musicpd/Makefile:1.232 Fri Jan  1 09:52:17 2021
+++ pkgsrc/audio/musicpd/Makefile       Fri Jan  8 09:31:32 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.232 2021/01/01 09:52:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.233 2021/01/08 09:31:32 nia Exp $
 
 DISTNAME=      mpd-0.22.3
 PKGNAME=       ${DISTNAME:S/mpd/musicpd/}
@@ -17,8 +17,14 @@ CONFLICTS=   mpd-[0-9]*
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-# c++17
-GCC_REQD+=     8
+# The upstream changelog recommends gcc8, but it compiles fine with 7.5.0
+# (NetBSD 9.1) using -std=c++17.
+#
+# Please be cautious of raising this requirement - mpd seems to adopt new C++
+# standards quickly. Notably, gcc8 from pkgsrc doesn't have support for
+# NetBSD/earmv7hf. gcc10 should, but fails for other reasons (TODO:
+# investigate).
+GCC_REQD+=     7
 
 MESON_ARGS+=   -Ddocumentation=enabled
 



Home | Main Index | Thread Index | Old Index