From 22a384468e6fbf074af2f2cfc67a866c6049686b Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Fri, 8 Mar 2019 15:45:56 +0100
Subject: [PATCH] contrib: caca: disable package not usable on Winstore builds

uses AllocConsole, GetConsoleCursorInfo, SetConsoleCursorInfo, SetConsoleMode,
CreateConsoleScreenBuffer, SetConsoleScreenBufferSize, SetConsoleWindowInfo,
SetConsoleActiveScreenBuffer, SetConsoleActiveScreenBuffer, SetConsoleTextAttribute,
SetConsoleTitle, WriteConsoleOutputW, GetNumberOfConsoleInputEvents, ReadConsoleInput
and GetStdHandle (which are now available)
---
 contrib/src/caca/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/caca/rules.mak b/contrib/src/caca/rules.mak
index 2bc78d893ecd..6369d1ec5c72 100644
--- a/contrib/src/caca/rules.mak
+++ b/contrib/src/caca/rules.mak
@@ -3,8 +3,10 @@ CACA_VERSION := 0.99.beta17
 CACA_URL := http://caca.zoy.org/files/libcaca/libcaca-$(CACA_VERSION).tar.gz
 
 ifndef HAVE_LINUX # see VLC Trac 17251
+ifndef HAVE_WINSTORE
 PKGS += caca
 endif
+endif
 ifeq ($(call need_pkg,"caca >= 0.99.beta14"),)
 PKGS_FOUND += caca
 endif
-- 
GitLab