[vlc-devel] [PATCH 05/19] contrib: caca: build without ncurses on Windows

Steve Lhomme robux4 at videolabs.io
Wed Jun 14 14:01:54 CEST 2017


libcaca cannot handle the ncurses (and signal) version from mingw
It's also not built in the the buildbot
---
 contrib/src/caca/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/caca/rules.mak b/contrib/src/caca/rules.mak
index 95e3325a08..b04c3f3a8f 100644
--- a/contrib/src/caca/rules.mak
+++ b/contrib/src/caca/rules.mak
@@ -32,6 +32,10 @@ CACA_CONF := \
 ifdef HAVE_MACOSX
 CACA_CONF += --disable-x11
 endif
+ifdef HAVE_WIN32
+#caca is only compatible with old ncurses that have NCURSES_MOUSE_VERSION set to 1
+CACA_CONF += --disable-ncurses
+endif
 
 .caca: caca
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(CACA_CONF)
-- 
2.12.1



More information about the vlc-devel mailing list