- Fix build with devel/ncurses installed [1], which erroneously redefines _POSIX_C_SOURCE as 200112L globally via its pkg-config file and hides strndup from cmus. A workaround for this was applied to cmus in DPorts commit d2907fe but it never made it back to FreeBSD. Changes: https://github.com/cmus/cmus/releases/tag/v2.8.0-rc0 PR: 216325, 214475 [1] Reported by: Oleg Gushchenkov <gor@clogic.com.ua> [1] Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D10242
13 lines
279 B
Text
13 lines
279 B
Text
Don't run git during the build
|
|
|
|
--- Makefile.orig 2016-11-20 12:29:46 UTC
|
|
+++ Makefile
|
|
@@ -9,7 +9,7 @@ _ver2 = $(shell git rev-parse --verify -
|
|
# hand-made
|
|
_ver3 = v2.8.0-rc0
|
|
|
|
-VERSION = $(or $(_ver0),$(_ver1),$(_ver2),$(_ver3))
|
|
+VERSION = $(_ver3)
|
|
|
|
all: main plugins man
|
|
|